diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-29 19:04:41 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-29 19:04:41 -0400 |
| commit | 51b9c15e6dddda210476944525b1ca4bd08c796b (patch) | |
| tree | bb6d05ddc51bb9135d27cc1128dc4c994458221c /src/commands/info | |
| parent | a51dc607be54e600248c8c3c86f9881470ff4158 (diff) | |
| download | tanzanite-51b9c15e6dddda210476944525b1ca4bd08c796b.tar.gz tanzanite-51b9c15e6dddda210476944525b1ca4bd08c796b.tar.bz2 tanzanite-51b9c15e6dddda210476944525b1ca4bd08c796b.zip | |
renamed settings command to config and made minor fixes
Diffstat (limited to 'src/commands/info')
| -rw-r--r-- | src/commands/info/help.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 97811da..ad4e00f 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -47,7 +47,11 @@ export default class HelpCommand extends BushCommand { message: BushMessage | BushSlashMessage, args: { command: BushCommand | string; showHidden?: boolean } ): Promise<unknown> { - const prefix = client.config.isDevelopment ? 'dev ' : message.util.parsed?.prefix ?? client.config.prefix; + const prefix = message.util.isSlash + ? '/' + : client.config.isDevelopment + ? 'dev ' + : message.util.parsed?.prefix ?? client.config.prefix; const row = new MessageActionRow(); if (!client.config.isDevelopment && !client.guilds.cache.some((guild) => guild.ownerId === message.author.id)) { |
