diff options
author | 2021-10-21 05:24:57 +0530 | |
---|---|---|
committer | 2021-10-21 05:24:57 +0530 | |
commit | 945313ea29bf053845665d829e675a1d78e2e545 (patch) | |
tree | 02ec4aa8d1eb495f1a908b58fd5e29c0afd1c34a | |
parent | Fix incident webhook fetch validation (diff) |
avatar.url -> display_avatar.url
-rw-r--r-- | bot/exts/moderation/incidents.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py index 693c01c81..21aaafe4a 100644 --- a/bot/exts/moderation/incidents.py +++ b/bot/exts/moderation/incidents.py @@ -623,7 +623,7 @@ class Incidents(Cog): webhook_msg = await webhook.send( embeds=[embed for embed in webhook_embed_list if embed], username=sub_clyde(message.author.name), - avatar_url=message.author.avatar_url, + avatar_url=message.author.display_avatar.url, wait=True, ) except discord.DiscordException: |