Is there an api to access connections?

My profile has an xbox connection, and I want the bot to get my username
6 Replies
d.js toolkit
d.js toolkit15mo 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! - Marked as resolved by OP
treble/luna
treble/luna15mo ago
You would need oauth2 for that If possible at all
haiz
haizOP15mo ago
There's an api in discord's documentation. Just wanted to see if it's possible with d.js
haiz
haizOP15mo ago
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
haiz
haizOP15mo ago
So, how do I call this api route in existing discord bot project? What's the most efficient way to do this? - extend discord.js? - use fetch to call the api?
treble/luna
treble/luna15mo ago
djs does not support oauth2
Want results from more Discord servers?
Add your server