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

145
Views
Discord.js How to find all the servers a different discord user is in

I want to make a website where people can change what the bot does on their server. I'm currently using Autocode to make it (using discord.js). I also don't know how to link OAouth2 with the code. This is the full code of what I'm at

// Using Node.js 14.x +
// use "lib" package from npm
const lib = require('lib')({
  token: 'token_here'
});
// make API request
let result = await lib.discord.guilds['@0.2.4'].list({
  limit: 100
});
console.log(result[0]);

it works but only gets what guilds the bot is in. I tried to link it to the user but I couldn't find out what to put

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!