Skip to content

Commit

Permalink
Revert "Fix kick reason"
Browse files Browse the repository at this point in the history
This reverts commit 11490c5.
  • Loading branch information
notunderctrl committed Jan 23, 2023
1 parent 1371db8 commit 36437de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 09 - Kick and Ban Command/src/commands/moderation/kick.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {

// Kick the targetUser
try {
await targetUser.kick(reason);
await targetUser.kick({ reason });
await interaction.editReply(
`User ${targetUser} was kicked\nReason: ${reason}`
);
Expand Down

0 comments on commit 36437de

Please sign in to comment.