Skip to content

Commit ad149fa

Browse files
committed
Formatting
1 parent 27fdc01 commit ad149fa

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

techsupport_bot/functions/logger.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,13 @@ async def send_message(
191191

192192
# Add avatar to attachments to all it to be added to the embed
193193
try:
194-
attachments.insert(0, await author.display_avatar.to_file(filename="avatar.png"))
194+
attachments.insert(
195+
0, await author.display_avatar.to_file(filename="avatar.png")
196+
)
195197
except discord.errors.HTTPException:
196-
attachments.insert(0, await author.default_avatar.to_file(filename="avatar.png"))
198+
attachments.insert(
199+
0, await author.default_avatar.to_file(filename="avatar.png")
200+
)
197201

198202
# Make and send the embed and files
199203
embed = await build_embed(

0 commit comments

Comments
 (0)