'Discord.py Links in Embeds
I am looking to put an invite link to my bot in the description of the embed as a hyperlink. I want it to display something similar to click here and then lead to the bot's invite link. If anybody knows how to do this, if you could please advise me that would be great! :)
Solution 1:[1]
You can do:
async def invite(ctx):
embed = discord.Embed(
color= discord.Colour.dark_teal() # or any color you want
)
embed.add_field(name='If you wish to add me in your server,' ,value='[Click here to add]( bot link )', inline=False)
await ctx.send(embed=embed)
You can put hyperlinks in this way just in field value.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
