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

chore: V4.0 fully remove user account methods #286

Open
wants to merge 2 commits into
base: 4.0-staging
Choose a base branch
from

Conversation

Droid00000
Copy link
Contributor

Summary

Separates out the removal of user account login related changes in the previous 4.0 commit into their own commit. I noticed a few other things related to user accounts, so I've attempted to deprecate them.

Removed

Discordrb::API.login
Discordrb::API.logout
Discordrb::Bot.process_token
Discordrb::API.validate_token — This used the old /auth/login route.
Discordrb::API.acknowledge_message — This endpoint is not usable by bot accounts
type parameter on constructor for bot object. — Pointless to keep since only bot accounts are supported.
OP: 5 — The comments say that a bot should never send this OP code, and I can't find anything about in the docs. This seems to be something different than voice OP 5.

Setting the status via the REST API is no longer supported so the following have been removed:

Discordrb::Profile.online
Discordrb::Profile.idle
Discordrb::Profile.dnd
Discordrb::Profile.invisible

Updated

Updated the way we process the bot token to reflect what you've done with the API client. (This allows use to remove the process_token method)

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

Successfully merging this pull request may close these issues.

1 participant