mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
Various fixes and improvements
This commit is contained in:
parent
d702d8c9b6
commit
9e251352c7
11 changed files with 168 additions and 36 deletions
|
|
@ -28,7 +28,7 @@ namespace PluralKit.Bot
|
|||
public static Context CheckOwnGroup(this Context ctx, PKGroup group)
|
||||
{
|
||||
if (group.System != ctx.System?.Id)
|
||||
throw Errors.NotOwnMemberError;
|
||||
throw Errors.NotOwnGroupError;
|
||||
return ctx;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue