fix(webhooks): CheckSystem before trying to set a webhook URL
This commit is contained in:
@@ -94,7 +94,7 @@ namespace PluralKit.Bot
|
||||
|
||||
public async Task SystemWebhook(Context ctx)
|
||||
{
|
||||
ctx.CheckDMContext();
|
||||
ctx.CheckSystem().CheckDMContext();
|
||||
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
|
Reference in New Issue
Block a user