Finished giveaway will now reply to the giveaway message and ping a winner
This commit is contained in:
parent
04a69b9ddd
commit
a21c7d2ab8
1 changed files with 3 additions and 0 deletions
|
@ -341,6 +341,9 @@ public sealed class GiveawayService : IEService, 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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue