aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/commands')
-rw-r--r--bot/src/commands/about.js4
-rw-r--r--bot/src/commands/timer.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/bot/src/commands/about.js b/bot/src/commands/about.js
index 311200e..22b3441 100644
--- a/bot/src/commands/about.js
+++ b/bot/src/commands/about.js
@@ -21,7 +21,9 @@ export default {
{ name: 'About AleeBot', value: 'AleeBot is an all-in-one bot that\'s made from the Discord.JS API!' },
{ name: 'Servers', value: `${interaction.client.guilds.cache.size}` },
{ name: 'License', value: 'GNU General Public License v3.0' },
- { name: 'Contributors', value: '- <@297201585090723841> (Uptime command from 2.x)' }
+ { name: 'Contributors', value:
+ '- <@297201585090723841> (Uptime command from 2.x)\n' +
+ '- <@236279900728721409> (Eval command from 2.x)' }
)
.setFooter({ text: '© Copyright 2017-2025 Andrew Lee & contributors' })
.setColor(abEmbedColour);
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 : ''}` });