diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-26 20:07:19 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-26 20:07:19 -0400 |
commit | ed59b7f1827ab93573b079144c3eeaa01ce40492 (patch) | |
tree | 7ceac6d61a8a25586ab9bbaf7acfbade91c97132 /src/commands/info/botInfo.ts | |
parent | c0a81b014a56e4d44c826f78391a930361aab122 (diff) | |
download | tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.gz tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.tar.bz2 tanzanite-ed59b7f1827ab93573b079144c3eeaa01ce40492.zip |
clean up, bug fixes
Diffstat (limited to 'src/commands/info/botInfo.ts')
-rw-r--r-- | src/commands/info/botInfo.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/info/botInfo.ts b/src/commands/info/botInfo.ts index ffb785c..a072224 100644 --- a/src/commands/info/botInfo.ts +++ b/src/commands/info/botInfo.ts @@ -5,13 +5,13 @@ import prettyBytes from 'pretty-bytes'; export default class BotInfoCommand extends BushCommand { public constructor() { - super('botinfo', { - aliases: ['botinfo', 'stats'], + super('botInfo', { + aliases: ['bot-info', 'stats'], category: 'info', description: { content: 'Shows information about the bot', - usage: 'botinfo', - examples: ['botinfo'] + usage: ['bot-info'], + examples: ['bot-info'] }, slash: true, clientPermissions: (m) => util.clientSendAndPermCheck(m, ['EMBED_LINKS'], true), @@ -19,7 +19,7 @@ export default class BotInfoCommand extends BushCommand { }); } - public override async exec(message: BushMessage | BushSlashMessage): Promise<void> { + public override async exec(message: BushMessage | BushSlashMessage) { enum Platform { aix = 'AIX', android = 'Android', |