Flask-discord-interactions

Latest version: v2.1.2

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 7

0.1.4

Adds the following features:
* Support for subcommands and subcommand groups in the command options field
* A flag to make an `InteractionResponse` ephemeral
* User, Role, and Channel parameters now receive an object (e.g. `InteractionChannel`) with relevant attributes

Breaking changes relating to `InteractionResponse` response types:
* Removed the `with_source` argument to `InteractionResponse` as source-less messages (`ACKNOWLEDGE`, `CHANNEL_MESSAGE`) are deprecated
* Added the `deferred` argument to `InteractionResponse` to support the new `DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE` type (and the new "Application is thinking..." UI)
* Updated the response types in `InteractionResponseType`:
* Removed deprecated types (`ACKNOWLEDGE`, `CHANNEL_MESSAGE`) -- these no longer work well with the Discord client
* Replaced `ACKNOWLEDGE_WITH_SOURCE` with `DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE` to reflect the new name and behavior

0.1.3

Replaces

discord.register_slash_commands()
discord.clear_slash_commands()

with

discord.update_slash_commands()

which makes a lot more sense.

0.1.2

0.1.1

Add a README, remove the need to explicitly get a token, restructure examples

0.1.0

Just testing PyPI actions for now

Page 7 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.