aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/kick.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-27 16:57:39 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-27 16:57:39 -0400
commit877537043dd2a8ba16037f061716d9c6f7a5764a (patch)
tree9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/commands/moderation/kick.ts
parenta1ab06dcfccef90192b90910aecdddbc505eca00 (diff)
downloadtanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz
tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2
tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip
change printWidth to 130 and update dependecies
Diffstat (limited to 'src/commands/moderation/kick.ts')
-rw-r--r--src/commands/moderation/kick.ts4
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);