aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-24 15:22:51 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-24 15:22:51 -0500
commit959440761a81bc115f4346decc0607079d615b0f (patch)
tree2ef6040fbb4ca48dbb6326297bf76788eb6b12e8 /bot.js
parent69888042fc3a2d0b92dfdc9fddedeb3f27fed47e (diff)
downloadPokeBot-959440761a81bc115f4346decc0607079d615b0f.tar.gz
PokeBot-959440761a81bc115f4346decc0607079d615b0f.tar.bz2
PokeBot-959440761a81bc115f4346decc0607079d615b0f.zip
DONE DONE ODNE
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);
});
}