-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User token support? #49
Comments
Currently this is not possible, Discord's API is only for use with bots, user authentication isn't publicly documented nor supported. |
Huh, Discord.Net seems to have support for it. |
And the authentication flow is documented, we have implemented a system which acquires the user token. |
To elaborate on this a little more: the Discord developers have stated that their API is intended only for bots as of about a year ago. While technically you can authenticate as a user and use the documented API bits to make a basic client, it's not meant to be used this way. We're just trying to respect this by keeping Discore under the scope of bot applications. If their stance on this has changed recently, please correct me however. |
I do understand that some of the other .NET Discord libraries support normal user authentication, however those libraries were around before Discord stated that they only wish to support proper bots. Discore was a little late to the party, so we decided to only support bots. |
Apologies for splitting this into so many comments. I should clear up my explanation here. Usage of user tokens is forbidden by Discord (this is called self-bots). You can however use some of the API via normal OAuth (this is different than user tokens). There are some things supported by Discord. However, it's only a handful of HTTP endpoints. As noted here, only bots are allowed to use the WebSocket API, which Discore heavily focuses on. Since only a very small subset of the HTTP API is meant for non-bots, Discore opted out for supporting it. Sorry for any confusion about our stance. |
We're interested in using Discore as a discord client library for Users, not bots. Is this possible in the current version?
The text was updated successfully, but these errors were encountered: