Releases: interactions-py/interactions.py
Releases · interactions-py/interactions.py
4.3.3
4.3.2
What's Changed
- Added command and option name for
Exception
messages. - Removed
Client.__resolve_events
and associated events. - Added download helper method for
Attachments
. - Added helper methods for component disabling.
- Added
presence
property toUser
. - Added
AllowedMentions
object. - 💥BREAKING: Renamed outdated channel name types.
- 💥BREAKING: Completely redone gateway connection for better stability.
- 💥BREAKING: Implemented a guild id property for the member object.
- Fixed
Member.get_avatar_url
returningNone
when no guild avatar exists. - Removed any unclosed client session messages.
- Added
APPLICATION_COMMAND_BADGE
toAppFlags
. - Added sticker helper methods.
- Implemented
has_permissions()
for theContext
andMember
class. - Implemented
Guild.get_scheduled_events()
. - Implemented full support for prune endpoints.
- Changed type of parameters in scheduled event requests from
Snowflake
toint
. - Fixed autodefer with
*args
and**kwargs
support in commands. - 💥BREAKING: Changed
delete_message_days
argument for banning to seconds. - Implemented Forum channel support.
- Added new auditlog event support.
- 💥BREAKING: Added
event
argument toraw_socket_create()
dispatch function. - Added support for chunking members via Gateway.
- Added embed suppression in interaction responses.
- Implemented debug parameter for the client.
- Added client, command, and extension to
CommandContext
instances. - Updated
ComponentContext.label
to reflect component models. - Implemented
send()
method for User class.
New Contributors
Full Changelog: 4.3.1...4.3.2
4.3.2-rc.1: Merge pull request #1085 from interactions-py/unstable
In order to install, please use the following line in your terminal:
pip install git+https://github.com/interactions-py/[email protected]
Full Changelog (from v4.3.1): 4.3.1...4.3.2-rc.1
4.3.2-beta.1
In order to install, please use the following line in your terminal:
pip install git+https://github.com/interactions-py/[email protected]
Full Changelog: 4.3.1...4.3.2-beta.1
4.3.1
What's Changed
- Fixed option annotation type parsing in option decorator.
- Fixed component conversion in message editing.
- Added
message_delete_bulk
event object support. - Added compatibility with comparing
Emoji
to string. - Fixed bug in creating
ActionRow
to empty list. - Fixed sequence order in getting channel overwrites.
- Fixed import error from importing
search_iterable()
. - Added
_client
to member object for message reactions. - Changed conditional in update dispatch event.
- Added member and channel permissions calculation.
Full Changelog: 4.3.0...4.3.1
4.3.0: Merge pull request #985 from interactions-py/unstable
What's Changed
- Implemented
@func.autocomplete.
- Changed FAQ from dis-snek to NAFF.
- Implemented
url
property forEmoji
. - Added ability to suppress embeds on message edit.
- 💥BREAKING: Fixed english locale definition
- Added
remove_commands
argument for removing and reloading extensions. - Implemented
clone_channel
Guild helper method. - Implemented Scheduled Event Gateway objects
- Implemented Webhook object
- Fixed WebSocket url retrieval when returned None as an edge case
- Fixed
channel.get_history()
parsing bug. - Added shard/presence metadata consistency after reboot.
- Implemented
has_public_flag
User helper attribute. - Added GET HTTP invite endpoint support.
- Fixed incorrect
Overwrite
id typehint. - Fixed autocompletion parsing past the first option.
- Implemented
get_users_from_reaction
Message helper method. - 💥BREAKING: Changed method name from
get_member_avatar_url
toget_avatar_url
- 💥BREAKING: Implemented
__all__
- 💥BREAKING: Rewritten all models and attributes to use
attrs
- Fixed autocompletion for more than 1 autocomplete option per command.
- Reverted command locale checking for allowing Japanese/Korean names.
- Fixed broken documentation and updating outdated locale.
- Allowed proper timestamp parsing for
Embed
objects. - Set a default type for
SelectMenu
. - Added query parameters to
get_reactions_of_emoji
helper method. - Improved error handling traceback.
- 💥BREAKING: Add support for other objects like
Snowflake
and direct object usage in helper methods - Caught
CancelledError
/Exception
errors instart()
. - Added
KeyboardInterrupt
error handling instart()
. - Refactored exceptions to utilise the built-in
LibraryException
error class. - 💥BREAKING: Implemented better
repr
forMember
andUser
models. - Added Automod support.
- Tweaked the consistency of
get_role
. - 💥BREAKING: Allowed ignoring Missing Access errors during synchronisation cleaner.
- 💥BREAKING: Implemented appending attachments on message/context edit without reuploading.
- Added more thread helper functions.
- Fixed command synchronisation for option/choice changes.
- 💥BREAKING: Change
Color
class attributes to static methods. - Created
IDMIxin
to compare/hash models easier. - Implemented
with_counts
param forget_guild
. - Fixed iterating through
NoneType
. - Implemented
app_permissions
in Context. - Added support for sending stickers.
- 💥BREAKING: Changed LibraryException arguments to respect usage.
- Removed the majority of
.pyi
files. - Refactored context sending/editing/deffering.
- 💥BREAKING: Refactored cache and dispatch cached models in delete/remove events.
- Merged the
enhanced
extension. - Fixed an issue for resolving data for mentionable option type.
- Merged the
get
extension/function. - Implemented
on_start
event. - Fixed encoding errors when logging events.
- Implemented converters into command options.
- Removed
PresenceButton
object. - Fixed errors within
get()
when requesting anything that isn't a role/emoji. - Fixed missing logic to
Embed.insert_field_at
. - Added new JSON error codes.
- Added
min_length
&max_length
toOption
. - Added
total_message_sent
toChannel
when in a thread. - Added
position
toMessage
when in a thread. - Added Audit Log support.
- Implemented
on_command_error
event. - 💥BREAKING: Implemented a smarter option decorator.
- Added
communication_disabled_until
toGuildMember
. - Suppressed voice state console logs when the event occurs.
- Changed logging level to warning when events aren't properly dispatched.
- Changed error code parsing for invite links.
- Added
on_raw
for update events. - Moved
Emoji
to its own module. - Fixed
Attachment
is not JSON serialisable error. - 💥BREAKING: Added converters to components.
New Contributors
- @MultiDragon made their first contribution in #937
- @athyk made their first contribution in #968
Full Changelog: 4.2,1...4.3.0
4.3.0-rc.1
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/[email protected]
What's Changed
- Implemented
on_start
event. - Fixed encoding errors when logging events.
- Implemented converters into command options.
- Removed
PresenceButton
object. - Fixed errors within
get()
when requesting anything that isn't a role/emoji. - Added Spanish language translation support in docs.
- Fixed missing logic to
Embed.insert_field_at
. - Added new JSON error codes.
- Added
min_length
&max_length
toOption
. - Added
total_message_sent
toChannel
when in a thread. - Added
position
toMessage
when in a thread. - Added Audit Log support.
- Implemented
on_command_error
event. - 💥BREAKING: Implemented a smarter option decorator.
- Added
communication_disabled_until
toGuildMember
. - Suppressed voice state console logs when the event occurs.
- Changed logging level to warning when events aren't properly dispatched.
New Contributors
- @MultiDragon made their first contribution in #937
- @athyk made their first contribution in #968
Full Changelog: 4.3.0-beta.2...4.3.0-rc.1
4.3.0-beta.2: Merge pull request #923 from interactions-py/unstable
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/[email protected]
What's Changed
- Fixed misplaced
.id
- 💥BREAKING: Allowed ignoring Missing Access errors during synchronisation cleaner.
- 💥BREAKING: Implemented appending attachments on message/context edit without reuploading.
- Added more thread helper functions.
- Fixed command synchronisation for option/choice changes.
- 💥BREAKING: Change
Color
class attributes to static methods. - Created
IDMIxin
to compare/hash models easier. - Implemented
with_counts
param forget_guild
. - Fixed iterating through
NoneType
. - Implemented
app_permissions
in Context. - Added support for sending stickers.
- 💥BREAKING: Changed LibraryException arguments to respect usage.
- Removed the majority of
.pyi
files. - Added an event page to documentation
- Refactored context sending/editing/deffering.
- 💥BREAKING: Refactored cache and dispatch cached models in delete/remove events.
- Merged the
enhanced
extension. - Fixed an issue for resolving data for mentionable option type.
- Merged the
get
extension/function.
Full Changelog: 4.3.0-beta.1...4.3.0-beta.2
4.3.0-beta.1
Due to the nature of this beta release, this will point from the unstable branch.
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/[email protected]
What's Changed
- Implemented
@func.autocomplete.
- Changed FAQ from dis-snek to NAFF.
- Implemented
url
property forEmoji
. - Added ability to suppress embeds on message edit.
- 💥BREAKING: Fixed english locale definition
- Added
remove_commands
argument for removing and reloading extensions. - Implemented
clone_channel
Guild helper method. - Implemented Scheduled Event Gateway objects
- Implemented Webhook object
- Fixed WebSocket url retrieval when returned None as an edge case
- Fixed
channel.get_history()
parsing bug. - Added shard/presence metadata consistency after reboot.
- Implemented
has_public_flag
User helper attribute. - Added GET HTTP invite endpoint support.
- Fixed incorrect
Overwrite
id typehint. - Fixed autocompletion parsing past the first option.
- Implemented
get_users_from_reaction
Message helper method. - 💥BREAKING: Changed method name from
get_member_avatar_url
toget_avatar_url
- 💥BREAKING: Implemented
__all__
- 💥BREAKING: Rewritten all models and attributes to use
attrs
- Fixed autocompletion for more than 1 autocomplete option per command.
- Reverted command locale checking for allowing Japanese/Korean names.
- Fixed broken documentation and updating outdated locale.
- Fixed parsing subcommands and subcommand groups from
attrs
. - Allowed proper timestamp parsing for
Embed
objects. - Set a default type for
SelectMenu
. - Added query parameters to
get_reactions_of_emoji
helper method. - Improved error handling traceback.
- 💥BREAKING: Add support for other objects like
Snowflake
and direct object usage in helper methods - Caught
CancelledError
/Exception
errors instart()
. - Added
KeyboardInterrupt
error handling instart()
. - Refactored exceptions to utilise the built-in
LibraryException
error class. - 💥BREAKING: Implemented better
repr
forMember
andUser
models. - Added Automod support.
- Implemented Automod helper methods.
- Tweaked the consistency of
get_role
.
Full Changelog: 4.2.1...4.3.0-beta.1
4.2.1
What's Changed
- Fixed autocomplete dispatching for sub commands.
- Fixed bug that causes bot to crash if invited without
application.commands
scope. - Fixed bug that didn't modify channels outside of a category.
- Changed logging missing attributes to
DEBUG
to avoid console spam.
Full Changelog: 4.2.0...4.2.1