diff options
Diffstat (limited to 'src/commands/info/botInfo.ts')
-rw-r--r-- | src/commands/info/botInfo.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/commands/info/botInfo.ts b/src/commands/info/botInfo.ts index 6cdae17..4a94318 100644 --- a/src/commands/info/botInfo.ts +++ b/src/commands/info/botInfo.ts @@ -1,6 +1,5 @@ import { Message, MessageEmbed } from 'discord.js'; -import { duration } from 'moment'; -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; +import { BushCommand } from '../../lib'; export default class BotInfoCommand extends BushCommand { public constructor() { @@ -32,11 +31,11 @@ export default class BotInfoCommand extends BushCommand { }, { name: 'Uptime', - value: this.client.util.capitalize(duration(this.client.uptime, 'milliseconds').humanize()) + value: this.client.util.capitalize(this.client.util.humanizeDuration(this.client.uptime)) }, { name: 'User count', - value: this.client.users.cache.size.toString(), + value: this.client.users.cache.size.toLocaleString(), inline: true }, { |