aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-10-21 05:24:57 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-21 05:24:57 +0530
commit945313ea29bf053845665d829e675a1d78e2e545 (patch)
tree02ec4aa8d1eb495f1a908b58fd5e29c0afd1c34a
parentFix incident webhook fetch validation (diff)
avatar.url -> display_avatar.url
-rw-r--r--bot/exts/moderation/incidents.py2
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: