mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add reaction checkmark on command message delete in DMs
This commit is contained in:
parent
ecce906c99
commit
92c1b4de56
1 changed files with 3 additions and 0 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue