diff options
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.`, |