From 0e6c2619f09f911f506a9e4d0b0d3169f4565eb7 Mon Sep 17 00:00:00 2001 From: Miikka <2606411+Dragory@users.noreply.github.com> Date: Thu, 7 Jul 2022 01:07:17 +0300 Subject: [PATCH] Update applyRoleButtons.ts --- backend/src/plugins/RoleButtons/functions/applyRoleButtons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/RoleButtons/functions/applyRoleButtons.ts b/backend/src/plugins/RoleButtons/functions/applyRoleButtons.ts index bc4c5c23..66e9666e 100644 --- a/backend/src/plugins/RoleButtons/functions/applyRoleButtons.ts +++ b/backend/src/plugins/RoleButtons/functions/applyRoleButtons.ts @@ -56,7 +56,7 @@ export async function applyRoleButtons( const channel = await pluginData.guild.channels.fetch(configItem.message.channel_id).catch(() => null); if (channel && (!channel.isText || typeof channel.isText !== "function")) { - console.log("wtf", channel); + console.log("wtf", pluginData.guild?.id, configItem.message.channel_id); } if (!channel || !channel?.isText?.()) { pluginData.getPlugin(LogsPlugin).logBotAlert({