Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interaction class context, is_guild_integration and is_user_integration
* Refactor values for AppCommandContext and AppInstallationType * Fix initialization of self.context in Interaction class * Try-except approach * Add is_guild_integration and is_user_integration methods to Interaction class * Fix incorrect index in is_user_integration method of Interaction class * Refactor values for AppCommandContext and AppInstallationType * Black formatting * Fix docs for AppCommandContext in interactions.py * Refactor typing imports in installs.py * Add versionadded tags to new methods in Interaction class * Fix incorrect indent in is_user_integration * Add is_integration method to Interaction class * Removed is_integration as it was a bug on discord's end
- Loading branch information
Showing
3 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters