feat: add reaction checkmark on command message delete in DMs

This commit is contained in:
spiral
2021-10-06 19:46:49 -04:00
parent ecce906c99
commit 92c1b4de56

View File

@@ -150,6 +150,9 @@ namespace PluralKit.Bot
if (ctx.Guild != null)
await ctx.Rest.DeleteMessage(ctx.Message);
else
await ctx.Rest.CreateReaction(ctx.Message.ChannelId, ctx.Message.Id, new() { Name = Emojis.Success });
return;
}
if (ctx.Match("author") || ctx.MatchFlag("author"))