mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -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
|
try
|
||||||
{
|
{
|
||||||
await msg.ModifyAsync(x => x.Embed = eb.Build());
|
await msg.ModifyAsync(x => x.Embed = eb.Build());
|
||||||
|
|
||||||
|
if (winner is not null)
|
||||||
|
await _sender.Response(ch).Message(msg).Text($"🎉 <@{winner.UserId}>").SendAsync();
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user