mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Disable wager limit check in PlinkoCommand (#49)
Comment out wager limit check for Plinko command.
This commit is contained in:
@@ -123,13 +123,13 @@ public class PlinkoCommand : ICommand
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var wager = Convert.ToDecimal(amount.Value);
|
var wager = Convert.ToDecimal(amount.Value);
|
||||||
if (wager > 1)
|
/*if (wager > 1)
|
||||||
{
|
{
|
||||||
await botInstance.SendChatMessageAsync(
|
await botInstance.SendChatMessageAsync(
|
||||||
$"{user.FormatUsername()}, plinko is currently limited to 1 KKK wagers while bugs are ironed out.", true,
|
$"{user.FormatUsername()}, plinko is currently limited to 1 KKK wagers while bugs are ironed out.", true,
|
||||||
autoDeleteAfter: TimeSpan.FromSeconds(15));
|
autoDeleteAfter: TimeSpan.FromSeconds(15));
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
var gambler = await Money.GetGamblerEntityAsync(user.Id, ct: ctx);
|
var gambler = await Money.GetGamblerEntityAsync(user.Id, ct: ctx);
|
||||||
if (gambler == null)
|
if (gambler == null)
|
||||||
throw new InvalidOperationException($"Caught a null when retrieving gambler for {user.KfUsername}");
|
throw new InvalidOperationException($"Caught a null when retrieving gambler for {user.KfUsername}");
|
||||||
|
|||||||
Reference in New Issue
Block a user