diff options
Diffstat (limited to 'src/commands/utilities/highlight-clear.ts')
-rw-r--r-- | src/commands/utilities/highlight-clear.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/highlight-clear.ts b/src/commands/utilities/highlight-clear.ts index df9f387..9e1ed62 100644 --- a/src/commands/utilities/highlight-clear.ts +++ b/src/commands/utilities/highlight-clear.ts @@ -23,7 +23,7 @@ export default class HighlightClearCommand extends BushCommand { const confirm = await ConfirmationPrompt.send(message, { content: `Are you sure you want to clear your highlight list?` }); if (!confirm) return await message.util.reply(`${emojis.warn} You decided not to clear your highlight list.`); - const success = await client.highlightManager.removeAllHighlights(message.guild.id, message.author.id); + const success = await this.client.highlightManager.removeAllHighlights(message.guild.id, message.author.id); if (!success) return await message.util.reply(`${emojis.error} There was an error clearing your highlight list.`); return await message.util.reply(`${emojis.success} Successfully cleared your highlight list.`); |