4.2.0
What's Changed
- Implemented
Converter
class - Changed API requirement to
v10
. - 💥BREAKING: Fixed
NoneType
error during sub command checks and adding kwarg for sub_commands without options. - Fixed minor bugs in
interactions.Extension
- Added missing f-string in
leave_guild
endpoint - 💥BREAKING: Fixed json serialisation.
- Filled
Context.user
from member data if user data isn't given by default - Allowed services to be added to
interactions.ext.Base
- 💥BREAKING: Fixed message serialisation in Context.
- 💥BREAKING: Allowed JSON builtin if
orjson
is not present. - Added
Embed
helper methods. - Removed
Format
class. - 💥BREAKING: Fixed member role attribute.
- Fixed
Invite
model with added attributes. - Added
Color
object. - Added
banner_color
attribute toUser
object. - 💥BREAKING: Fixed
guild.create_thread
helper method and fixed embed image serialisation. - Implemented emoji helper methods.
- Implemented `bot.guilds`` property.
- Fixed example of
extension_command
usage. - Implemented channel permission overwrites.
- Implemented changing presences on runtime.
- Fixed grammatical errors for the
Modals
section. - Added
__eq__
to Snowflake. - Removed extra
"
in quickstart example. - Reorganised http endpoints.
- Implemented helper methods to gateway member model.
- Added more helper methods to guild channel.
- Added autoupdating _json in component models.
- Logged missing attributes as
INFO
. - Dropped
_json
requirement to Embed attributes. - Added
icon_url
property toteam.Application
. - Checked
WS_CLOSED_MESSAGE
in gateway. - Allowed autocomplete get_application_commands when sync is False.
- Prevented
kwargs
modification during a for loop. - Allowed archiving of threads in channel helper methods.
- Implemented
get_all_members
helper method. - Added
icon_url
property toGuild
. - Reflect class attributes when editing subclassed objects.
- Fixed quickstart typo.
- Checked
CLOSING_MESSAGE
in gateway. - 💥BREAKING: Fixed and optimised command synchronisation.
- Added
url
to message objects. - Implemented
Locale
support and per-route HTTP exhaust ratelimiting. - 💥BREAKING: Fixed context resolution due to internal architecture change.
- Fixed
remaining
HTTP ratelimit references. - 💥BREAKING: Fixed local imports surrounding component building.
- Fixed webhook execution payload.
- Implemented File support to all non-Context message sending/editing. (and #706)
- Added image URL helper properties.
- 💥BREAKING: Fixed endpoint typo in headers.
- 💥BREAKING: Implemented v2 permissions.
New Contributors
- @LuigiFan25 made their first contribution in #586
- @Bastien1533 made their first contribution in #531
- @arHSM made their first contribution in #585
- @Dworv made their first contribution in #612
- @shivrm made their first contribution in #642
- @Jimmy-Blue made their first contribution in #656
- @MaskDuck made their first contribution in #669
Full Changelog: 4.1.0...4.2.0