possumbot/commands/info.js

17 lines
464 B
JavaScript
Raw Normal View History

2024-08-21 17:00:40 +02:00
function execute(client, event, args) {
2024-08-27 21:52:32 +02:00
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}`;
2024-08-21 17:00:40 +02:00
client.reply(event, info);
}
export default {
command: "info",
name: "info",
desc: "show general info about the bot",
execute
}