Skip to content

Commit

Permalink
Update kick.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EdVoids authored Nov 20, 2022
1 parent e37f461 commit 148060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/moderation/kick.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ async function kick(issuer, target, reason) {
const response = await kickTarget(issuer, target, reason);
if (typeof response === "boolean") return `${target.user.tag} is kicked!`;
if (response === "BOT_PERM") return `I do not have permission to warn ${target.user.tag}`;
else if (response === "MEMBER_PERM") return `You do not have permission to warn ${target.user.tag}`;
else if (response === "MEMBER_PERM") return `You do not have permission to kick ${target.user.tag}`;
else return `Failed to warn ${target.user.tag}`;
}

0 comments on commit 148060d

Please sign in to comment.