Discord.Py Embed Message instead of regular message
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?
HamzaATHAR
Thank you but how to add links
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!
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
@mat1 thanks... thats so cool!
@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>