possumbot/commands/info.js
2024-08-21 15:00:40 +00:00

16 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
}