aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev')
-rw-r--r--src/commands/dev/servers.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts
index 72fc7d7..0701158 100644
--- a/src/commands/dev/servers.ts
+++ b/src/commands/dev/servers.ts
@@ -1,4 +1,5 @@
import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '#lib';
+import { stripIndent } from '#tags';
import type { APIEmbed } from 'discord-api-types/v10';
import type { Guild } from 'discord.js';
@@ -25,11 +26,10 @@ export default class ServersCommand extends BushCommand {
color: util.colors.default,
fields: chunk.map((guild) => ({
name: util.format.input(guild.name),
- value: [
- `**ID:** ${guild.id}`,
- `**Owner:** ${client.users.cache.has(guild.ownerId) ? client.users.cache.get(guild.ownerId)!.tag : guild.ownerId}`,
- `**Members:** ${guild.memberCount.toLocaleString()}`
- ].join('\n')
+ value: stripIndent`
+ **ID:** ${guild.id}
+ **Owner:** ${client.users.cache.has(guild.ownerId) ? client.users.cache.get(guild.ownerId)!.tag : guild.ownerId}
+ **Members:** ${guild.memberCount.toLocaleString()}`
}))
} as APIEmbed;
});