21 lines
616 B
Plaintext
21 lines
616 B
Plaintext
URL = 'https://www.google.com/'
|
|
IMAGE_1 = 'https://cdn.discordapp.com/embed/avatars/1.png'
|
|
IMAGE_2 = 'https://cdn.discordapp.com/embed/avatars/2.png'
|
|
|
|
# embeds must have the same url
|
|
# works with more up to 4(?) embeds on desktop, might not work at all on mobile
|
|
|
|
embed1 = discord.Embed(
|
|
title='TITLE 1',
|
|
description='DESCRIPTION 1',
|
|
url=URL # <<< same url as other embeds
|
|
)
|
|
embed1.set_image(url=IMAGE_1)
|
|
|
|
embed2 = discord.Embed(
|
|
title='TITLE 2',
|
|
description='DESCRIPTION 2',
|
|
url=URL # <<< same url as other embeds
|
|
)
|
|
embed2.set_image(url=IMAGE_2)
|
|
await channel.send(embeds=[embed1, embed2]) |