Discord-Bot-Choo-Choo icon indicating copy to clipboard operation
Discord-Bot-Choo-Choo copied to clipboard

added commands loader that loads each command from commands folder

Open ghost opened this issue 4 years ago • 2 comments

ghost avatar Feb 13 '21 22:02 ghost

With this file there is no need to always include the new commands in the commands.js? Just put them in the /commands folder ?

LCypherus avatar May 15 '21 20:05 LCypherus

With this file there is no need to always include the new commands in the commands.js? Just put them in the /commands folder ?

Yes, that is correct. This way will work for this kind of simple app / bot. Depending on when you import the commands and the size / number of all the commands you will want to twitch it a little bit otherwise it will get slow.

ghost avatar May 16 '21 09:05 ghost