Small fix

This commit is contained in:
2026-01-27 15:05:04 +01:00
parent ca07a0ed3b
commit 41949fe596
12 changed files with 61 additions and 86 deletions
-2
View File
@@ -30,7 +30,6 @@ module.exports = {
ephemeral: true,
});
}
await member.kick(reason);
await recordModerationAction({
guildId: interaction.guildId,
@@ -40,7 +39,6 @@ module.exports = {
reason,
metadata: {},
});
await interaction.reply(`Kicked ${user.tag} for: ${reason}`);
} catch (error) {
console.error(error);