Fix kick command

This commit is contained in:
Zeva Rose 2021-08-05 10:37:35 -06:00
parent 328dd2a1bc
commit a1a9543237

View file

@ -13,7 +13,6 @@ class KickCog(CacheCog):
def __init__(self, bot):
super().__init__(bot)
@cog_ext.cog_slash(
name="kick",
description="Kick a user",
@ -44,7 +43,9 @@ async def _kick(self, ctx: SlashContext, user: User, reason=None):
await ctx.send("Reason must be < 100 characters", hidden=True)
return
if not reason:
reason = "Mr. Stark is displeased with your presence. Please leave."
reason = (
"Mr. Stark is displeased with your presence. Please leave."
)
guild_name = ctx.guild.name
embed = build_embed(
title=f"You have been kicked from {guild_name}",