Skip to content
Sign upLog in
← Back to Community

How do I create a hyperlink in a message?

Profile icon
Stanhil

I'm trying to hyperlink an embed message in discord js, but I can't.

Voters
Profile icon
AdamRaizza
Profile icon
Stanhil
Comments
hotnewtop
Profile icon
Coder100

There are two cases

With no embed

Without an embed, you must send the link in full just like you would in discord.

msg.channel.send("https://replit.com");

With embed

With an embed, you can use the markdown syntax like this.

msg.channel.send({ embed: { description: "[click me](https://replit.com)" } });
Profile icon
SYGT3M

If you're asking about adding an hyperlink to an embed , you have to do:
[Text](Link)
For example: [Repl.it](https://repl.it)