possumbot/commands/info.js

17 lines
437 B
JavaScript
Raw Normal View History

2024-08-21 17:00:40 +02:00
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
}