Skip to content

Releases: interactions-py/interactions.py

Release 1.1.2

14 Apr 07:15
d5cba04
Compare
Choose a tag to compare

Merged #152 - Fixed missing await in sync_all_commands.
Fixed TypeError on command invoke can cause command re-invoke.

Release 1.1.1

09 Apr 14:19
cc62eeb
Compare
Choose a tag to compare

Merged these PRs:
#126 - Reduced PUT method request on sync_commands.
#127 - Added args and kwargs to SlashContext
#131 - Fixed attribute typos. Note that previous names are deprecated and will be removed in release 1.2.0.
#139 - Implemented file attaching on initial message send / message edit.

Release 1.1.0

26 Mar 12:46
1db8e04
Compare
Choose a tag to compare

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

21 Feb 14:42
Compare
Choose a tag to compare

Merged #98 (Fixed temporary auto_convert was case sensitive.)
Merged #99 (You can now pass list of string to choices of manage_commands.create_option.)
Merged #104 (Fixed wrong SlashContext attribute definition.)
Fixed error if guild_ids is not passed to decorator.

Fix: Release 1.0.9.4

15 Feb 13:44
Compare
Choose a tag to compare

Fixed discord.Client raises exception due to incorrect event adding.

Fix: Release 1.0.9.3

14 Feb 12:04
Compare
Choose a tag to compare

Fixed error at SlashContext initialization if only command is added to guild without bot itself.

Fix: Release 1.0.9.2

14 Feb 10:04
Compare
Choose a tag to compare

Fixed cog commands won't register due to missing key in get_cog_commands.

Fix: Release 1.0.9.1

14 Feb 02:23
Compare
Choose a tag to compare

Fixed process_options raises exception if command was called using Android devices.

Release 1.0.9

13 Feb 12:34
Compare
Choose a tag to compare

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 or None. 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

02 Jan 02:00
Compare
Choose a tag to compare

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.