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

301
Views
How to make a custom url show in discord js bot embed messages?

I am using v12.6 of discord js. I am trying to make a embed message which will look something like this .

Position

Game Developer Location

Chennai, Tamil Nadu, India

Apply Now

The problem is that when I am using setURL(applylink) it is making the url hyperlink on setTitle of the embed. I wish to make a seperate tag which looks like above. This is my code

 const embed = new MessageEmbed()
            .setColor('#ffdf00')
            .setTitle( companyName)
            .addFields(
                { name: 'Position', value: jobTitle ,inline:true},
                { name: 'Location', value: location+'\n'},
                { name: 'Experience', value: experienceLevel, inline: true },              
                { name: 'Salary Range', value: CTCRange, inline: true },
               
            )
            .addFields({name: 'Qualifications',value: qualificationRequired+'\n'})
            .setURL(linktoApply)

            const channel = client.channels.cache.get(channelID);
            channel.send(embed); 

here companyName and other tags in value are variables.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Use the hyperlink syntax for bots. (this does not work on normal messages, it only works for embeds)

const embed = new MessageEmbed()
    .addField('Title', 'Description, [Hyperlink](https://example.com)')
about 4 years ago · Juan Pablo Isaza 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!