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
⢠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.djs does not support oauth2 afaik
I am talking about this link

Thats not djs related, and i dont think thats possible either
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
Still not djs related and you cant
Only with audit logs
use the identify scope iirc
Continue this conversation elsewhere though
can u provide more info about identify scope iirc
Continue this conversation elsewhere though