mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 01:08:26 -04:00
change: Finished giveaway will now reply to the giveaway message and ping a winner
This commit is contained in:
@@ -341,6 +341,9 @@ public sealed class GiveawayService : INService, IReadyExecutor
|
||||
try
|
||||
{
|
||||
await msg.ModifyAsync(x => x.Embed = eb.Build());
|
||||
|
||||
if (winner is not null)
|
||||
await _sender.Response(ch).Message(msg).Text($"🎉 <@{winner.UserId}>").SendAsync();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
Reference in New Issue
Block a user