Skip to content

Commit

Permalink
Fix portrait bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Dec 12, 2023
1 parent 7e2b0bd commit 88822ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/module/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def move_embed(character :character, move :dict):
embed = discord.Embed(title=character.name,
colour=0x00EAFF,
description='**Move: ' + move['input'] + '**')
embed.set_thumbnail(url=character.portrait)

embed.set_thumbnail(url=character.portrait[0])
embed.set_footer(text=move['name'])

embed.add_field(name='Target', value=move['target'])
Expand Down

0 comments on commit 88822ea

Please sign in to comment.