Skip to content
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

[Question] - Main README lists scopes parameter but example does not #39

Closed
framerate opened this issue Aug 14, 2018 · 2 comments
Closed

Comments

@framerate
Copy link
Contributor

Can you elaborate? I checked the source was trying to understand if there were default scopes (there doesn't seem to be).

My guess:

  • If your app is approved by Discord and you use websocket transport, you have to request proper scope
  • If you're in development mode (using ipc transport) you don't require the scope

If this is correct, I can issue a PR with added documentation perhaps! Either way, fill me in and thanks so much for you work on this. We've almost got the whole invite/approval flow working but we have a bug (on our end I'm pretty sure)

<3

@devsnek
Copy link
Member

devsnek commented Aug 14, 2018

@framerate if you are only using rich presence you do not provide any scopes or even a client secret. If you want to do other things like query user information or whatever you'll need to provide the additional scopes you want to use, both in websocket and ipc.

@framerate
Copy link
Contributor Author

Gotcha, thanks for clarifying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants