diff --git a/moderation/moderation.py b/moderation/moderation.py index b9a5a20..bea1616 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -790,7 +790,7 @@ class Moderation(commands.Cog): except discord.errors.HTTPException: pass - await target.kick(f"Kicked by {interaction.user.id} for: {reason}") + await target.kick(reason=f"Kicked by {interaction.user.id} for: {reason}") moderation_id = await self.mysql_log(interaction.guild.id, interaction.user.id, 'KICK', target.id, 0, 'NULL', reason) await interaction.edit_original_response(content=f"{target.mention} has been kicked! (Case `#{moderation_id:n}`)\n**Reason** - `{reason}`")