diff --git a/src/utils/errorHandling.ts b/src/utils/errorHandling.ts index 501daf4..dabe335 100644 --- a/src/utils/errorHandling.ts +++ b/src/utils/errorHandling.ts @@ -58,6 +58,8 @@ async function sendErrorMessage( description: string ) { await ( - client.channels.cache.get(process.env.ERROR_CHANNEL_ID || '') as TextChannel + client.channels.cache.get( + process.env.MARQUINHOS_ERROR_CHANNEL_ID || '' + ) as TextChannel )?.send(`### ⚠️⚠️⚠️ ${title} ⚠️⚠️⚠️\n\n\`\`\`ansi\n${description}\`\`\``); }