aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.js b/bot.js
index 1d64af0..70a56e5 100644
--- a/bot.js
+++ b/bot.js
@@ -40,6 +40,7 @@ async function loadCmd(category, cmd) {
const command = require(`./commands/${category}/${cmd}`);
bot.commands.get(category).set(command.help.name, command);
command.conf.aliases.forEach(alias => {
+ console.log(`Loading the alias ${alias} for the command ${command.help.name}`);
bot.aliases.get(category).set(alias, command.help.name);
});
}