diff options
Diffstat (limited to 'src/commands/moderation/kick.ts')
-rw-r--r-- | src/commands/moderation/kick.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts index 34c1b76..dab6807 100644 --- a/src/commands/moderation/kick.ts +++ b/src/commands/moderation/kick.ts @@ -62,9 +62,7 @@ export default class KickCommand extends BushCommand { const member = await message.guild!.members.fetch(user.id); 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 = force && message.author.isOwner(); const canModerateResponse = await Moderation.permissionCheck(message.member, member, 'kick', true, useForce); |