mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 00:35:02 +00:00
13 lines
428 B
TypeScript
13 lines
428 B
TypeScript
import { utilityCmd } from "../types";
|
|
|
|
export const MemberCountCmd = utilityCmd({
|
|
trigger: "membercount",
|
|
description: "Show the amount of members in the server",
|
|
usage: "!membercount",
|
|
permission: "can_membercount",
|
|
|
|
async run({ message: msg, pluginData }) {
|
|
const memberCount = pluginData.guild.memberCount.toLocaleString();
|
|
msg.channel.createMessage(`This server has **${memberCount} members**`);
|
|
},
|
|
});
|