From 95a2e3b520e3426f911c870e50eb17a06712704f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 16 Dec 2023 20:29:54 -0500 Subject: [PATCH] fix(moderation): fix kick command --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`")