mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-15 10:32:44 -04:00
Added missing balance format to Krash
This commit is contained in:
@@ -81,7 +81,7 @@ public class KrashBetCommand : ICommand
|
|||||||
if (wager > gambler.Balance)
|
if (wager > gambler.Balance)
|
||||||
{
|
{
|
||||||
await botInstance.SendChatMessageAsync(
|
await botInstance.SendChatMessageAsync(
|
||||||
$"{user.FormatUsername()}, your balance of {gambler.Balance} is not enough to bet {wager} on krash.",
|
$"{user.FormatUsername()}, your balance of {await gambler.Balance.FormatKasinoCurrencyAsync()} is not enough to bet {wager} on krash.",
|
||||||
true, autoDeleteAfter: TimeSpan.FromSeconds(5));
|
true, autoDeleteAfter: TimeSpan.FromSeconds(5));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user