Skip to content

Releases: breqdev/flask-discord-interactions

v1.5.1 - Fix issues with global commands

28 Apr 18:25
e6887b0
Compare
Choose a tag to compare
  • Fix 404 error when registering global commands (permissions endpoint does not exist)
  • Fix dm_permission field not getting sent when set to False -- #86

v1.5.0: Initial Support for Permissions v2

28 Apr 04:19
c279051
Compare
Choose a tag to compare

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

12 Mar 01:01
06fb5eb
Compare
Choose a tag to compare

Fixed timestamp valueerrors in some rare cases by @therealr5 in #79

v1.4.1: Bugfix with modals

02 Mar 15:35
20e3479
Compare
Choose a tag to compare

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

27 Feb 03:44
90d064f
Compare
Choose a tag to compare

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

12 Feb 00:56
3610bca
Compare
Choose a tag to compare
  • Update Message Object examples for Ephemeral Embeds by @etrotta in #70
  • Add support for autocomplete handlers, add an Options model in #72, suggested by @therealr5
  • Improve documentation for files in #73, suggested by @MaskDuck

v1.2.3

04 Feb 06:39
06e805f
Compare
Choose a tag to compare

Fixes a bug where editing a message with embeds=[] or components=[] would incorrectly do nothing. This fix changes the behavior such that setting embeds=[] during an edit clears the embeds from the message. Thanks @therealr5 for reporting this in #68!

v1.2.2

03 Feb 03:43
48df84c
Compare
Choose a tag to compare

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

22 Dec 20:08
e2dc9ec
Compare
Choose a tag to compare

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

18 Dec 23:26
93b1650
Compare
Choose a tag to compare
  • 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