Passing payload in oauth link

I am trying to build a discord integraion with my app, I want to pass a payload (userid of the user who is integrating the bot in my db) in the invite link of the bot and when the bot is added to the guild i want to receive the payload and serverid along with the discord user id Can anyone guide me on this?
9 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
treble/luna
treble/luna2y ago
djs does not support oauth2 afaik
garvit012
garvit012OP2y ago
I am talking about this link
treble/luna
treble/luna2y ago
Thats not djs related, and i dont think thats possible either
garvit012
garvit012OP2y ago
this is the url generated by discord allowing people to add my bot to their servers with the app I just want to pass a userid which i can recieve when the bot is added
treble/luna
treble/luna2y ago
Still not djs related and you cant Only with audit logs
MrMythical
MrMythical2y ago
use the identify scope iirc Continue this conversation elsewhere though
garvit012
garvit012OP2y ago
can u provide more info about identify scope iirc
MrMythical
MrMythical2y ago
Continue this conversation elsewhere though
Want results from more Discord servers?
Add your server