mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): channels can now have 15 webhooks (#601)
This commit is contained in:
parent
7ef76a8e67
commit
36622905d3
1 changed files with 2 additions and 2 deletions
|
|
@ -94,9 +94,9 @@ public class WebhookCacheService
|
|||
|
||||
// We don't have one, so we gotta create a new one
|
||||
// but first, make sure we haven't hit the webhook cap yet...
|
||||
if (webhooks.Length >= 10)
|
||||
if (webhooks.Length >= 15)
|
||||
throw new PKError(
|
||||
"This channel has the maximum amount of possible webhooks (10) already created. A server admin must delete one or more webhooks so PluralKit can create one for proxying.");
|
||||
"This channel has the maximum amount of possible webhooks (15) already created. A server admin must delete one or more webhooks so PluralKit can create one for proxying.");
|
||||
|
||||
return await DoCreateWebhook(channelId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue