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

249
Views
Slash command echo DiscordAPIError: Missing Access in heroku
//slash command to echo 
bot.on("ready", async () => {
    bot.user.setPresence({ activities: [{ name: "Tedi", type: "WATCHING"}] });
    console.log("bye");
    const data = {
        name: "echo",
        description: "Echo your text",
        options: [{
            name: "text",
            type: "STRING",
            description: "The user input",
            required: true,
        }],
    };
const command = await bot.guilds.cache.get('server id number')?.commands.create(data);
})

error

This is the error message I'm getting in heroku and I'm not sure what missing access means. Thanks in advance!

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

0

This is a very common problem You can go to the developer department

https://discord.com/developers/applications Follow the pattern below

Step 1

Step 2

Then copy the following URL and paste it on the web page, then choose where you want to create the slash command, and that's it!

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!