mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-10 08:09:35 -04:00
Delete !rain message for participants
This commit is contained in:
@@ -93,6 +93,7 @@ public class RainCommand : ICommand
|
||||
await botInstance.SendChatMessageAsync(
|
||||
$"LFG {user.FormatUsername()} is now a participant! There's now {rain.Participants.Count + 1} participant{pluralSuffix}! Type [ditto]!rain[/ditto] to participate",
|
||||
true, autoDeleteAfter: cleanupDelay);
|
||||
await botInstance.KfClient.DeleteMessageAsync(message.MessageUuid!);
|
||||
return;
|
||||
}
|
||||
//if you're trying to start the rain
|
||||
|
||||
Reference in New Issue
Block a user