diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-01 23:04:42 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-01 23:04:42 -0500 |
commit | 6d55282a4d9c238c1809384562e091e4085853ad (patch) | |
tree | e99be27783e6a01dec97d05e564bd8a8691139fb /src | |
parent | 47a57e247aa55cf80662fb4c9c0caf5cb4ffabd5 (diff) | |
download | tanzanite-6d55282a4d9c238c1809384562e091e4085853ad.tar.gz tanzanite-6d55282a4d9c238c1809384562e091e4085853ad.tar.bz2 tanzanite-6d55282a4d9c238c1809384562e091e4085853ad.zip |
fix(HighlightClearCommand): use the correct paremeters I stfg
Diffstat (limited to 'src')
-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 33893b9..8c261c2 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(`${util.emojis.warn} You decided not to clear your highlight list.`); - const success = await client.highlightManager.removeAllHighlights(message.author.id, message.guild.id); + const success = await client.highlightManager.removeAllHighlights(message.guild.id, message.author.id); if (!success) return await message.util.reply(`${util.emojis.error} There was an error clearing your highlight list.`); return await message.util.reply({ |