diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-10 22:12:23 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-10 22:12:23 -0500 |
commit | 9923f0751396decaa6febcaa54da9b6ad9b596b1 (patch) | |
tree | 5022a611ae156ff2cd6edb8c124113b539845213 /src/commands/config | |
parent | 8928d95b87e036f731c7a65d8646d75f5bb42c93 (diff) | |
download | tanzanite-9923f0751396decaa6febcaa54da9b6ad9b596b1.tar.gz tanzanite-9923f0751396decaa6febcaa54da9b6ad9b596b1.tar.bz2 tanzanite-9923f0751396decaa6febcaa54da9b6ad9b596b1.zip |
fixed lots of shit I think
Diffstat (limited to 'src/commands/config')
-rw-r--r-- | src/commands/config/config.ts | 26 | ||||
-rw-r--r-- | src/commands/config/disable.ts | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index 99a1147..7811663 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -1,19 +1,19 @@ import { BushCommand, guildSettingsObj, settingsArr, type BushMessage, type BushSlashMessage, type GuildSettings } from '#lib'; import { type ArgumentOptions, type Flag } from 'discord-akairo'; import { - Channel, - Formatters, - GuildMember, - MessageActionRow, - MessageButton, - MessageEmbed, - MessageSelectMenu, - Role, - User, - type Message, - type MessageComponentInteraction, - type MessageOptions, - type Snowflake + Channel, + Formatters, + GuildMember, + MessageActionRow, + MessageButton, + MessageEmbed, + MessageSelectMenu, + Role, + User, + type Message, + type MessageComponentInteraction, + type MessageOptions, + type Snowflake } from 'discord.js'; import _ from 'lodash'; diff --git a/src/commands/config/disable.ts b/src/commands/config/disable.ts index a04850c..83b4608 100644 --- a/src/commands/config/disable.ts +++ b/src/commands/config/disable.ts @@ -79,7 +79,7 @@ export default class DisableCommand extends BushCommand { .catch(() => false); if (!success) return await message.util.reply({ - content: `${util.emojis.error} There was an error globally **${action.substr( + content: `${util.emojis.error} There was an error globally **${action.substring( 0, action.length - 2 )}ing** the **${commandID}** command.`, @@ -87,7 +87,7 @@ export default class DisableCommand extends BushCommand { }); else return await message.util.reply({ - content: `${util.emojis.success} Successfully **${action.substr( + content: `${util.emojis.success} Successfully **${action.substring( 0, action.length - 2 )}ed** the **${commandID}** command globally.`, |