fix(moderation): hopefully made the jump_url work
Some checks failed
Pylint / Pylint (push) Failing after 1m23s
Some checks failed
Pylint / Pylint (push) Failing after 1m23s
This commit is contained in:
parent
32b2007c87
commit
59c8a96afc
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Moderation(commands.Cog):
|
|||
if moderation_type in ["kicked", "banned", "unbanned"]:
|
||||
guild_name = guild.name
|
||||
else:
|
||||
guild_name = f"[{guild.name}]({response.jump_url})"
|
||||
guild_name = f"[{guild.name}]({await response.jump_url})"
|
||||
if moderation_type in ["tempbanned", "muted"] and duration:
|
||||
embed_duration = f" for {humanize.precisedelta(duration)}"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue