From e1c613829950a534d9f45c00a033b83575be3b3c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 17 Jun 2022 20:03:05 -0400 Subject: remove global client variable --- src/commands/moderation/mute.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/commands/moderation/mute.ts') diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts index 7ad023a..12b94d6 100644 --- a/src/commands/moderation/mute.ts +++ b/src/commands/moderation/mute.ts @@ -7,7 +7,6 @@ import { format, Moderation, muteResponse, - prefix, userGuildPermCheck, type ArgType, type CommandMessage, @@ -93,7 +92,7 @@ export default class MuteCommand extends BushCommand { }); const responseMessage = (): string => { - const prefix_ = prefix(message); + const prefix_ = this.client.utils.prefix(message); const victim = format.input(member.user.tag); switch (responseCode) { case muteResponse.MISSING_PERMISSIONS: -- cgit