Releases: breqdev/flask-discord-interactions
v1.5.1 - Fix issues with global commands
- Fix 404 error when registering global commands (permissions endpoint does not exist)
- Fix
dm_permission
field not getting sent when set toFalse
-- #86
v1.5.0: Initial Support for Permissions v2
Changes
- Initial support for Permissions V2's
default_member_permissions
field (#81, thanks @therealr5!) - related to discord/discord-api-docs#4830 - Hotfix for the disabled bulk permissions endpoint
- Updated
Option
model to support subcommands, min/max value, channel type (#84, thanks @therealr5!)
Here be dragons
Permissions overwrites don't seem to be functioning properly after the permissions V2 rollout, track #85 for updates. Code using default_permission
or ctx.overwrite_permissions()
will likely fail. The new default_member_permissions
field is unaffected.
v1.4.2: Timestamp parsing bugfix
Fixed timestamp valueerrors in some rare cases by @therealr5 in #79
v1.4.1: Bugfix with modals
This update fixes an issue with returning modals from custom handlers. The issue would arise if you attempt to trigger a modal from a button click or select menu choice.
Patch: fix missing dump_handler
function for modals by @therealr5 in #78
v1.4.0 -- Modal support, autocomplete fixes
Changelog
- Fixed autocomplete when returning a list of dicts - #76, thanks @therealr5!
- Modal Support - #75, thanks @etrotta!
- Autoformat using Black in #77
Autocomplete, Options object
v1.2.3
v1.2.2
Adds a new Context.message
attribute containing the relevant Message
, if any. This allows message component interaction handlers to access the original message (i.e., with the component that triggered the interaction). Check the example for more details. Introduced in #67, thanks @therealr5!
v1.2.1
Adds default_permission
and permissions
arguments to DiscordInteractions.command_group()
and SlashCommandGroup()
. This allows users to set permissions for command groups which will apply to all of the subcommands inside.
Thanks @EpocDotFr for bringing this to my attention in #65!
Support bot usage inside DMs
- Bugfix relating to using the bot inside a DM (#62, thanks @HeroClay!)
- Minor improvements such as a
Context.users
field to better support bots in DMs - New documentation page explaining how to set up a bot for DM use and differences in the
Context
object when a command is invoked via DM