diff options
Diffstat (limited to 'src/commands/config/disable.ts')
-rw-r--r-- | src/commands/config/disable.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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.`, |