This repository was archived by the owner on Aug 1, 2021. It is now read-only.
Repository navigation
Docs, Cleanup, Tooling
This release brings a lot of needed updates to tooling, documentation, and the general flow/API.
Breaking
- Rewrite the majority of the storage module. This includes an entirely new interface.
Tooling
- Documentation w/ Biblio - This is very much an initial stab at a problem that requires much more work and effort, but for now there are at least some docs that can be parsed by a human.
- Travis CI - CI and testing mean we will hopefully have less issues with breaking folks stuff. This also has a long way to go.
API
channels_messages_create/channels_messages_modifynow support message sanitization via the new moduledisco.util.sanitize. Most users will want to flip this on for any messages that contain user-generated or passed content.- Added support for multiple attachments when sending messages. This deprecates the
attachmentkwarg in favor of anattachmentskwarg, holding an array of attachments. channels_messages_reactions_getsupports pagination- Added
guilds_invites_list - Added
users_me_guilds_delete - Move to API v7, which includes new errors array. Can be viewed within an
APIExceptionvia theerrorsproperty. This also includes an update to the exception message format. - Complete implementation of
Client.update_presence - Add support for NSFW channels
- Added various new fields and functions to
Guildtype Message.create_reactionrenamed to (the previous version being deprecated)Message.add_reaction
Bot
- Refactor of the way we implemented command groups. This fixes various errors and removes the hard cap of 100 commands.
ETC
- Add
log-levelCLI flag - GatewayClient now keeps some state which allows introspection of resumes (and the number of events replayed)
- Various fixes to state tracking
Obviously the above is a non-exhaustive list, this release included a ton of bug fixes and issues related to voice and other components.