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.loginDiscordrb::API.logoutDiscordrb::Bot.process_tokenDiscordrb::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:
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 accountstype
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)