possumbot/commands/info.js
2024-08-27 19:52:32 +00:00

16 lines
464 B
JavaScript

function execute(client, event, args) {
var info = `source code: https://git.lgbt/root/possumbot\n`;
info += `commands: ${client.commands.length}\n`;
info += `modules: ${client.modules.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
}