EcoBot/commands/reload.js
2021-11-23 00:37:00 +01:00

11 lines
237 B
JavaScript

module.exports = {
api: {
name: "reload",
description: "Command to reload all commands."
},
run: async (int, client, index) => {
int.reply(`Reloading...`);
await process.loadCommands();
int.followUp("Reload complete.");
}
}