mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-15 10:32:44 -04:00
Forgot to add a delay for the rain timer
This commit is contained in:
@@ -105,6 +105,7 @@ public class RainCommand : ICommand
|
|||||||
while (timer > 0)
|
while (timer > 0)
|
||||||
{
|
{
|
||||||
timer--;
|
timer--;
|
||||||
|
await Task.Delay(1000, ctx);
|
||||||
await botInstance.KfClient.EditMessageAsync(msg.ChatMessageId!.Value,
|
await botInstance.KfClient.EditMessageAsync(msg.ChatMessageId!.Value,
|
||||||
$"{user.FormatUsername()} is making it rain with {await decAmount.FormatKasinoCurrencyAsync()}! Type !rain in the next {timer} seconds to join.");
|
$"{user.FormatUsername()} is making it rain with {await decAmount.FormatKasinoCurrencyAsync()}! Type !rain in the next {timer} seconds to join.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user