From 3c522c6d58b8fb3cc393a165bbcc98041d94dbe0 Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Mon, 3 Jan 2022 12:57:18 -0500 Subject: added debug for webhook ratelimit --- src/Discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Discord.ts') diff --git a/src/Discord.ts b/src/Discord.ts index 087619b..1245145 100644 --- a/src/Discord.ts +++ b/src/Discord.ts @@ -75,7 +75,7 @@ class Discord { } else if (this.config.USE_WEBHOOKS) { // otherwise, ignore all webhooks that are not the same as this one if (this.webhookClient!.id === message.webhookId) { - if (this.config.DEBUG) console.log('[INFO] Ignoring webhook from self') + if (this.config.DEBUG) console.log('[DEBUG] Ignoring webhook from self') return } } -- cgit 1.4.1