forked from cswimr/SeaCogs
fix(moderation): fix kick command
This commit is contained in:
parent
53003efb89
commit
95a2e3b520
1 changed files with 1 additions and 1 deletions
|
@ -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}`")
|
||||
|
|
Loading…
Reference in a new issue