change: Finished giveaway will now reply to the giveaway message and ping a winner

This commit is contained in:
Kwoth
2024-11-29 08:52:47 +00:00
parent f280f72227
commit 15709bc8fb

View File

@@ -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
{