Releases: interactions-py/interactions.py
Release 1.1.2
Merged #152 - Fixed missing await in sync_all_commands
.
Fixed TypeError
on command invoke can cause command re-invoke.
Release 1.1.1
Release 1.1.0
This version comes support for new UI change.
Note that this contains some breaking changes, so please read Migrate To V1.1.0
in the document.
Merged these PRs:
#105 - Fixed many bugs occur if only applications.commands
was added to guild.
#107 - Refactored http.py
, context.py
to support UI change.
#113 - Added override for the application ID to support old bots.
Special thanks to all contributors, this version is mostly created by contributors.
Fix: Release 1.0.9.5
Fix: Release 1.0.9.4
Fixed discord.Client
raises exception due to incorrect event adding.
Fix: Release 1.0.9.3
Fixed error at SlashContext initialization if only command is added to guild without bot itself.
Fix: Release 1.0.9.2
Fixed cog commands won't register due to missing key in get_cog_commands
.
Fix: Release 1.0.9.1
Fixed process_options
raises exception if command was called using Android devices.
Release 1.0.9
Before the release note, I'd like to apologize for delaying the update.
Also, this release contains a lot of breaking changes. Make sure to see the docs and update your codes before updating.
Merged Pull Requests
I'd say thank you to all contributors, 1.0.9
won't be this much big without your contributions.
#55 - Command docstring can now be a description of the command.
#57 - Better exception message for .send()
, manage_commands.get_all_commands
's guild_id
param's default is set to None
.
#64 - Now automatically generates options using command coroutine's parameters.
#75 - Now get_cog_commands
and remove_cog_commands
is automatically called, so no more extra lines for cog.
#78 - Some command management methods' HTTP requests can be used via discord.py's http client.
#80 - Now supports PUT
request for command syncing.
#81 - Fixed multiple SlashCommand
instance can be present.
#86 - Enhanced SlashCommandOptionType.from_type
.
#89 - Fixed base commands lookup for the subcommand.
Major Changes
Completely restructured SlashContext
, now this will be much similar to discord.py's Context.
- Added
.respond()
which will send initial response. .message
Attribute is added. This will be present if.respond()
was called. (Without eating.).send()
now supports file(s), also now returns sent message object.- Now
.author
,.channel
,guild
is either discord object orNone
. IDs can be get using.author_id
,.channel_id
,guild_id
.
Removed auto_register
and auto_remove
and replaced with sync_commands
to prevent API rate limit. Also added sync_on_cog_reload
, which will sync commands on cog reload.
Now partly supports discord.py's check function. If there is not working checks, please let me know via GitHub Issues, Discussions, or our Discord Server.
Implemented connector
, which will help passing options as kwargs with multi-language option name.
Bug Fixes
Fixed #88 - Subcommands are present in unallowed guild.
Fixed command cannot be triggered via DM.
Fix: Release 1.0.8.1
NOTE: Currently latest version of this extension is 1.0.8.5
, not this one. This is because quick fixes are directly uploaded at PyPi. Source of the latest one can be found at hotfix-command-register
branch.
Fixed subcommand auto-registering raises exception when base_desc
is None.
Changed base_desc
, sub_group_desc
to base_description
, subcommand_group_description
. (Previous name is still available as a alias.)
Merged #44.
(#44) Added SlashCommandOptionType
enum.