mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
fix(webhooks): CheckSystem before trying to set a webhook URL
This commit is contained in:
parent
7b9d2a4e5e
commit
75c35b7f85
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ namespace PluralKit.Bot
|
|||
|
||||
public async Task SystemWebhook(Context ctx)
|
||||
{
|
||||
ctx.CheckDMContext();
|
||||
ctx.CheckSystem().CheckDMContext();
|
||||
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue