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

158
Views
Discord-buttons are not working in discord.js v12

I want to make an embed with three buttons in discord.js v12. When I am trying to send the message it returns me [object Object]. What I am doing wrong? Here is my code:

const app = new Discord.MessageEmbed()
.setTitle("my embed here")

let staff = new disbut.MessageButton()
.setStyle('gray')
.setLabel('🔰STAFF')
.setURL('url')
                
let ellas = new MessageButton()
.setStyle('gray')
.setLabel('👮‍♀️POLICE')
.setURL('url')

let ekav = new disbut.MessageButton()
.setStyle('gray')
.setLabel('🚑EKAB')
.setURL('url')

message.channel.send(app, {
    buttons: [staff, ellas, ekav]
});
about 4 years ago · Juan Pablo Isaza
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!