From 87e86271fe0ed1e0d355caa5ef12d30f74191629 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:29:41 -0400 Subject: [PATCH] Forgot to add error to console, removed dumb note I added in badge thing --- src/userplugins/WebhookManager.tsx | 3 ++- src/utils/constants.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/userplugins/WebhookManager.tsx b/src/userplugins/WebhookManager.tsx index b7aa0b64a..d8b414879 100644 --- a/src/userplugins/WebhookManager.tsx +++ b/src/userplugins/WebhookManager.tsx @@ -42,8 +42,9 @@ export default definePlugin({ } } catch (error) { + console.log("WebhookManager encountered an error deleting a webhook. " + error); sendBotMessage(ctx.channel.id, { - content: "There was an error deleting the webhook. Did you input a valid webhook URL?" + content: "There was an error deleting the webhook. Check the console for more info. Did you input a valid webhook URL?" }); } } diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 9d5e9b0b9..5a51a0c45 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -428,8 +428,8 @@ export const Devs = /* #__PURE__*/ Object.freeze({ id: 708275751816003615n, }, Byron: { - name: "byron", // am i even allowed to add this right now? - id: 639577344276692992n, + name: "byron", + id: 639577344276692992n } } satisfies Record);