-
Notifications
You must be signed in to change notification settings - Fork 94
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
Why does from_bot/user_token
return a Result?
#128
Labels
Comments
Future-proofing, in the case that these methods should ever need to change to validate their tokens or any such similar thing. |
I don't think they should. Not validating is much faster, plus the websocket already returns an error on invalid token, PLUS you can already validate by querying the current user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why does
from_bot/user_token
return a Result?I mean, it always returns Ok() either way...
The text was updated successfully, but these errors were encountered: