feat: add reaction checkmark on command message delete in DMs
This commit is contained in:
parent
ecce906c99
commit
92c1b4de56
@ -150,6 +150,9 @@ namespace PluralKit.Bot
|
|||||||
|
|
||||||
if (ctx.Guild != null)
|
if (ctx.Guild != null)
|
||||||
await ctx.Rest.DeleteMessage(ctx.Message);
|
await ctx.Rest.DeleteMessage(ctx.Message);
|
||||||
|
else
|
||||||
|
await ctx.Rest.CreateReaction(ctx.Message.ChannelId, ctx.Message.Id, new() { Name = Emojis.Success });
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (ctx.Match("author") || ctx.MatchFlag("author"))
|
if (ctx.Match("author") || ctx.MatchFlag("author"))
|
||||||
|
Loading…
Reference in New Issue
Block a user