From 0f55f5f52e84fd5cdedb448d408dfa3c69c5fe5f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 20 Mar 2025 16:20:59 -0400 Subject: Modularized LLM chatbot; Added back eval --- bot/src/commands/timer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/commands/timer.js') diff --git a/bot/src/commands/timer.js b/bot/src/commands/timer.js index 3b3807e..68a113c 100644 --- a/bot/src/commands/timer.js +++ b/bot/src/commands/timer.js @@ -41,7 +41,7 @@ export default { setTimeout(async function(){ if (interaction.guild) { let remindChannel = interaction.client.channels.cache.get(interaction.channel.id); - if (!remindChannel) return console.error('Unknown channel.'); + if (!remindChannel) return; return await remindChannel.send({ content: `${interaction.user}, You have been reminded.${message ? '\n\n' + content : ''}` }); } else { return await interaction.user.send({ content: `You have been reminded.${message ? '\n\n' + content : ''}` }); -- cgit v1.2.3