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.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts
index 844809b..6f594a0 100644
--- a/src/commands/moderation/mute.ts
+++ b/src/commands/moderation/mute.ts
@@ -69,9 +69,7 @@ export default class MuteCommand extends BushCommand {
if (reason.duration === null) reason.duration = 0;
const member = await message.guild!.members.fetch(args.user.id).catch(() => null);
if (!member)
- return await message.util.reply(
- `${util.emojis.error} The user you selected is not in the server or is not a valid user.`
- );
+ return await message.util.reply(`${util.emojis.error} The user you selected is not in the server or is not a valid user.`);
if (!message.member) throw new Error(`message.member is null`);
const useForce = args.force && message.author.isOwner();