Skip to content
← Back to Community
Discord.Py Embed Message instead of regular message
Profile icon
replitcode

I came across a bot on the repl.it discord server... Repl Talk... and saw that all of its messages were embedded instead of regular text... how do I make MY messages embedded instead of the regular ones?

Answered by mat1 [earned 5 cycles]
View Answer
Voters
Profile icon
ZLATAN123
Profile icon
Musicheart0420
Profile icon
cxchella29
Profile icon
HamzaATHAR
Profile icon
diogodecamargo0
Profile icon
pablolucea
Profile icon
FagnerR
Profile icon
replitcode
Comments
hotnewtop
Profile icon
mat1

You can use
embed = discord.Embed(title='Embed title',description='Embed description')
await client.send_message(message.channel, embed=embed
to send a very simple embed message. You can look at https://discordpy.readthedocs.io/en/latest/api.html#discord.Embed for more things you can do with embeds

Please upvote this comment if it was helpful or useful in any way

Profile icon
replitcode

@mat1 thanks... thats so cool!

Profile icon
Alpha4952

@mat1 i don't know why my embed does not display, instead of it, it gave me this everytime <discord.embeds.Embed object at 0x7f49c6ab0f70>

Profile icon
HamzaATHAR

Thank you but how to add links

Profile icon
replitcode

@HamzaATHAR easy as putting in the link in the message event. it should automatically convert to hyperlink status in discord! happy coding my friend!