aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-matches.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/highlight-matches.ts')
-rw-r--r--src/commands/utilities/highlight-matches.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/highlight-matches.ts b/src/commands/utilities/highlight-matches.ts
index b458550..7bf94fd 100644
--- a/src/commands/utilities/highlight-matches.ts
+++ b/src/commands/utilities/highlight-matches.ts
@@ -34,7 +34,7 @@ export default class HighlightMatchesCommand extends BushCommand {
public override async exec(message: CommandMessage | SlashMessage, args: { phrase: ArgType<'string'> }) {
assert(message.inGuild());
- const res = await client.highlightManager.checkPhrase(message.guild.id, message.author.id, args.phrase);
+ const res = await this.client.highlightManager.checkPhrase(message.guild.id, message.author.id, args.phrase);
if (!res.size) return await message.util.reply(`${emojis.error} You are not highlighting any words`);