Releases: sentinelb51/revoltgo
Releases · sentinelb51/revoltgo
Stable release
Fixes a critical error where bots would 401 due to incorrect headers. While revolt's documentation shows X-Session-Token as the auth header, X-Bot-Token is required instead. Both will be set as the library does not know if it's acting as a self-bot or not.
In the future, maybe during the initial handshake we could fetch the user, then the request method can determine if we're a self-bot by checking s.State.User?
Stable release
Fixed a minor bug that resulted in duplicate ratelimit buckets for the same endpoint. This was caused by URL query parameters.
Stable release
This release features a stable and ready-to-use API, with support for almost everything included in the API, as well as caching, ratelimiting, and reconnects on websocket errors.