aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/timer.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-20 16:20:59 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-20 16:20:59 -0400
commit0f55f5f52e84fd5cdedb448d408dfa3c69c5fe5f (patch)
tree8ec510bcfaabd2adb2d3e13407658c13ec3deb64 /bot/src/commands/timer.js
parentc06c0be2e7520ceaf5284472d0d99c7417aceb7a (diff)
downloadAleeBot-0f55f5f52e84fd5cdedb448d408dfa3c69c5fe5f.tar.gz
AleeBot-0f55f5f52e84fd5cdedb448d408dfa3c69c5fe5f.tar.bz2
AleeBot-0f55f5f52e84fd5cdedb448d408dfa3c69c5fe5f.zip
Modularized LLM chatbot; Added back eval
Diffstat (limited to 'bot/src/commands/timer.js')
-rw-r--r--bot/src/commands/timer.js2
1 files changed, 1 insertions, 1 deletions
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 : ''}` });