aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-remove.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/highlight-remove.ts')
-rw-r--r--src/commands/utilities/highlight-remove.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/highlight-remove.ts b/src/commands/utilities/highlight-remove.ts
index bb1300a..4dddff6 100644
--- a/src/commands/utilities/highlight-remove.ts
+++ b/src/commands/utilities/highlight-remove.ts
@@ -31,7 +31,7 @@ export default class HighlightRemoveCommand extends BushCommand {
public override async exec(message: CommandMessage | SlashMessage, args: { word: ArgType<'string'> }) {
assert(message.inGuild());
- const res = await client.highlightManager.removeHighlight(message.guild.id, message.author.id, args.word);
+ const res = await this.client.highlightManager.removeHighlight(message.guild.id, message.author.id, args.word);
if (typeof res === 'string')
return await message.util.reply({ content: `${emojis.error} ${res}`, allowedMentions: AllowedMentions.none() });