aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/servers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/servers.ts')
-rw-r--r--src/commands/dev/servers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts
index 5097695..e26d2c7 100644
--- a/src/commands/dev/servers.ts
+++ b/src/commands/dev/servers.ts
@@ -8,7 +8,7 @@ export default class ServersCommand extends BushCommand {
category: 'dev',
description: {
content: 'Displays all the severs the bot is in',
- usage: 'servers',
+ usage: ['servers'],
examples: ['servers']
},
clientPermissions: (m) => util.clientSendAndPermCheck(m),
@@ -17,7 +17,7 @@ export default class ServersCommand extends BushCommand {
});
}
- public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
+ public override async exec(message: BushMessage | BushSlashMessage) {
const guilds = [...client.guilds.cache.sort((a, b) => (a.memberCount < b.memberCount ? 1 : -1)).values()];
const chunkedGuilds: Guild[][] = util.chunk(guilds, 10);
const embeds: MessageEmbedOptions[] = chunkedGuilds.map((chunk) => {