Skip to content

Commit 2c06cdb

Browse files
committed
Change image link from a title to a field
1 parent fa8bc77 commit 2c06cdb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/thread.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,7 @@ async def send(self, message, destination=None,
444444
):
445445
embed.set_image(url=att[0])
446446
if att[1]:
447-
embed.url = att[0]
448-
embed.title = att[1]
447+
embed.add_field(name='Image', value=f'[**{att[1]}**]({att[0]})')
449448
embedded_image = True
450449
elif att[1] is not None:
451450
if note:

0 commit comments

Comments
 (0)