Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

435
Views
Discord.js send hyperlink on normal message just like in user message

as a user, you can send hyperlink message in discord using

[Text](http://example.com)

and it'll be embedded like this:

enter image description here

.

however, if I used a Bot to do it with discord.js, using the code:

await source.channel.send("[text](http://example.com)")

it won't embed:

enter image description here

is it possible to do this like the user or it's simply impossible for bots to do it?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You need to format that message into hyper link.

const msg = Formatters.hyperlink("", "http://example.com", text);
await source.channel.send(msg);

https://discord.js.org/#/docs/main/stable/class/Formatters?scrollTo=s-hyperlink

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!