EcoBot/commands/reload.js

11 lines
237 B
JavaScript
Raw Normal View History

2021-11-22 23:37:00 +00:00
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.");
}
}