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