using discord oauth

so atm i have a website, and a discord server with a bot. id like to allow a user to authenticate on the website with their discord account. if my understanding is right i need a bot to do this. can i use my current bot or is it a good idea to seperate authentication to a seperate bot?
7 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
NefariousApe
NefariousApeOP2mo ago
is it not? not at my comp but coulda sworn i saw a page on the discord js website about using the OAuth2 feature
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Ahsanfr.
Ahsanfr.2mo ago
you would definitely use the same bot because to make api requests for members the bot is in servers with
skeddles
skeddles2mo ago
you make an "app" on discords developer section, but you don't need a discord bot, it uses the API in a completely different way than bots do.
Ahsanfr.
Ahsanfr.2mo ago
What's the difference between app and bot ohh makes sense, what did he mean by "it uses API in completely different way than bots"?
Want results from more Discord servers?
Add your server