mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-15 02:22:43 -04:00
Delete !rain message for participants
This commit is contained in:
@@ -93,6 +93,7 @@ public class RainCommand : ICommand
|
|||||||
await botInstance.SendChatMessageAsync(
|
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",
|
$"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);
|
true, autoDeleteAfter: cleanupDelay);
|
||||||
|
await botInstance.KfClient.DeleteMessageAsync(message.MessageUuid!);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//if you're trying to start the rain
|
//if you're trying to start the rain
|
||||||
|
|||||||
Reference in New Issue
Block a user