servercount cli command
This commit is contained in:
parent
df8d186139
commit
4fef4e8045
@ -4,6 +4,7 @@ import pack from "../../package.json";
|
||||
import { Console } from "node:console";
|
||||
import moment from "moment";
|
||||
import startupTime from "../tools/startupTime";
|
||||
import client from "../client";
|
||||
|
||||
import guild from "./guild";
|
||||
import global from "./global";
|
||||
@ -47,6 +48,11 @@ rl.on("line", async (msg) => {
|
||||
break;
|
||||
}
|
||||
|
||||
case "servercount": {
|
||||
console.log(`This bot is on ${client.guilds.cache.size} guilds`);
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
console.log(`Unknown command. Try "help" for help`);
|
||||
break;
|
||||
@ -64,5 +70,6 @@ uptime
|
||||
guild
|
||||
global
|
||||
help
|
||||
servercount
|
||||
clear`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user