We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27fdc01 commit ad149faCopy full SHA for ad149fa
1 file changed
techsupport_bot/functions/logger.py
@@ -191,9 +191,13 @@ async def send_message(
191
192
# Add avatar to attachments to all it to be added to the embed
193
try:
194
- attachments.insert(0, await author.display_avatar.to_file(filename="avatar.png"))
+ attachments.insert(
195
+ 0, await author.display_avatar.to_file(filename="avatar.png")
196
+ )
197
except discord.errors.HTTPException:
- attachments.insert(0, await author.default_avatar.to_file(filename="avatar.png"))
198
199
+ 0, await author.default_avatar.to_file(filename="avatar.png")
200
201
202
# Make and send the embed and files
203
embed = await build_embed(
0 commit comments