Nos78 / MrData

Discord Bot providing some simple scoring using postgres
GNU General Public License v3.0
3 stars 1 forks source link

Plug-n-play Hot swapping of command files #26

Open Nos78 opened 4 years ago

Nos78 commented 4 years ago

The commands are loaded from disk into the coomands collection when the bot starts.

This means that if new commands are created, the bot needs to be rebooted in order to load the new command. Given the modular design of the command system, it would make more sense to be able to reload the commands during runtime, via a command that it accessible by the bot owner.