4.1.0
What's Changed
- NEW: Introduced
interactions.ext
SDK framework. - Finalised HTTP rate limit implementation with corrections.
- Added BitField objects for User & Application flags
- Refactored methods to use the
MISSING
value - 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_event
method and JSON serialisation in helper methods - Implemented
id
property method intoMember
- 💥BREAKING: Fixed rename method name
get_application_command
- Corrected quickstart typos
- Implemented
mention
property method into data models - Implemented new Permissions v2.01 system
- Implemented
GET Guild Audit Log
endpoint toHTTPClient
- Added population to
_Context
'sguild
andchannel
attributes when available or withMISSING
- Implemented
custom_id
andlabel
property 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_id
in@modal
- Refactored catching parameters for dispatching
- Fixed JSON references from
dict
comparisons 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_extension
method toClient
- Implemented
Locale
/localisation enumerable object - Added string argument support for modals in extensions
- Fixed
Emoji
instantiation mapping forSelectOption
- Redocumented
CommandContext
's structure - Refactored command payload checking
- Implemented
avatar_url
property method intoUser
- Corrected JSON parsing for non-existent
Emoji
arguments - 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
'sPresence
state on connection - Added
Presence
enumerable representation support - Fixed
send()
/edit()
context functionality - Abstracted
modify
method 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
latency
andready
attributes inWebSocketClient
- Corrected Gateway command and subcommand dispatching
- Improved documentation on Extensions
- 💥 BREAKING: Removed requirement of
reason
in helper methods - Fixed
Embed
serialisation 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