mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
lint/fixes, add group patch validation
This commit is contained in:
parent
bc2c198a82
commit
c472a7f6df
6 changed files with 20 additions and 12 deletions
|
|
@ -137,7 +137,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
if (message.System.Id != ctx.System.Id)
|
||||
throw new PKError("You can only delete your own messages.");
|
||||
|
||||
|
||||
await ctx.Rest.DeleteMessage(message.Message.Channel, message.Message.Mid);
|
||||
|
||||
if (ctx.Guild != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue