Skip to content

Add an API to find the user that installed a bot #7389

Discussion options

You must be logged in to vote

This was likely a misunderstanding on my part.

I use the oauth flow as a trigger to create a guild record in my database, but was only asking for bot scope and was unnecessarily saving the bearer token.

I've tried adding the identify scope now, which lets me also fetch the user that installed the bot via users/@me with the bearer token, which is what I am after. We can close this unless I'm missing something? Thanks for your help!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dblock
Comment options

@Qjuh
Comment options

@dblock
Comment options

Answer selected by dblock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants