aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/mute.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/mute.ts')
-rw-r--r--src/commands/moderation/mute.ts3
1 files changed, 1 insertions, 2 deletions
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: