4.1.0
What's Changed
- NEW: Introduced
interactions.extSDK framework. - Finalised HTTP rate limit implementation with corrections.
- Added BitField objects for User & Application flags
- Refactored methods to use the
MISSINGvalue - Fixed the formerly outdated User-Agent HTTP header
- Implemented basic "cogs"/Extensions
- Added the ability to pass command names in
@autocomplete - Added more helper methods to data models
- 💥BREAKING: Corrected
guild_scheduled_eventmethod and JSON serialisation in helper methods - Implemented
idproperty method intoMember - 💥BREAKING: Fixed rename method name
get_application_command - Corrected quickstart typos
- Implemented
mentionproperty method into data models - Implemented new Permissions v2.01 system
- Implemented
GET Guild Audit Logendpoint toHTTPClient - Added population to
_Context'sguildandchannelattributes when available or withMISSING - Implemented
custom_idandlabelproperty methods into_Context - Clarified eligibility for contributor role in contribution requirements
- Added failsafe for payload creation from non-present values in
ComponentContext - Added the ability to pass
custom_idin@modal - Refactored catching parameters for dispatching
- Fixed JSON references from
dictcomparisons for component context - Outlined and given better streamline process for quickstart documentation
- Fixed minor command synchronization issues and exceptions
- Refactored files to comply with Sourcery AI workflow
- Added modals to the quickstart documentation
- Implemented
get_extensionmethod toClient - Implemented
Locale/localisation enumerable object - Added string argument support for modals in extensions
- Fixed
Emojiinstantiation mapping forSelectOption - Redocumented
CommandContext's structure - Refactored command payload checking
- Implemented
avatar_urlproperty method intoUser - Corrected JSON parsing for non-existent
Emojiarguments - Refactored context to be a mixin class
_Context - Refactored the Gateway's approach to connection and dispatching events
- Refactored components as an extraction state for building sending models
- Implemented
Client'sPresencestate on connection - Added
Presenceenumerable representation support - Fixed
send()/edit()context functionality - Abstracted
modifymethod in data models for simplified usage - Corrected exceptions for non-chat-input-based commands when a description is
MISSING - Added failsafe to conflicts between
__slots__and method names - Implemented
latencyandreadyattributes inWebSocketClient - Corrected Gateway command and subcommand dispatching
- Improved documentation on Extensions
- 💥 BREAKING: Removed requirement of
reasonin helper methods - Fixed
Embedserialisation in messages when sending/editing - 💥 BREAKING: Introduced proper graceful reconnection logic without close
New Contributors
- @panley01 made their first contribution in #459
- @Middledot made their first contribution in #460
- @Highfire1 made their first contribution in #469
- @mAxYoLo01 made their first contribution in #473
- @Jplight made their first contribution in #447
- @Damego made their first contribution in #495
Thank you to all of the contributors on our team who work hard to ensure a quality-driven product to users. We are committed here at interactions.py to provide you the very best library for interactions in Python. We look forward to keeping the promise with you all throughout the years to come.
Full Changelog: 4.0.2...4.1.0