17 lines
437 B
JavaScript
17 lines
437 B
JavaScript
|
function execute(client, event, args) {
|
||
|
var info = `${client.name}\n\n`;
|
||
|
info += `Commands: ${client.commands.length}\n`;
|
||
|
info += `Modules: ${client.commands.length}\n`;
|
||
|
info += `Prefix: ${process.env.PREFIX} (you can also mention the bot!)\n`;
|
||
|
info += `Owner: ${process.env.OWNER_ID}`;
|
||
|
|
||
|
client.reply(event, info);
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
command: "info",
|
||
|
name: "info",
|
||
|
desc: "show general info about the bot",
|
||
|
execute
|
||
|
}
|