Rapptz
|
0ec06f0ac5
|
Add on_app_command_completion event
Fix #8126
|
3 years ago |
Rapptz
|
1fa7d7e402
|
Raise special CommandSyncFailure during sync for better errors
This is parsed from the error to allow for users to better debug
what exactly is causing the issue in sync.
|
3 years ago |
Rapptz
|
a9025ca3d1
|
Remove public CommandTree.call method and make it private
|
3 years ago |
Rapptz
|
cc0c261925
|
Change auto_locale_strings default to True
|
3 years ago |
Rapptz
|
1c9792e0ed
|
Add auto_locale_strings parameter to application commands
|
3 years ago |
Rapptz
|
2d586ae805
|
Add initial support for app command localisation
|
3 years ago |
Rapptz
|
6c42065210
|
Fix various a -> an typos across the library
Closes #8301, #8287
|
3 years ago |
Stocker
|
0546343bcb
|
[commands] Add cog-level app command error special method
|
3 years ago |
Bryan Forbes
|
0eb3d26343
|
Add generic arguments for extras typing
|
3 years ago |
I. Ahmad
|
9fc4769b18
|
Add extras attribute to app commands command types
|
3 years ago |
Rapptz
|
b8ddb17b14
|
Fix fallback_to_global not working with context menus
Fix #8167
|
3 years ago |
Rapptz
|
53685b9b86
|
Change stderr prints to use the logging module instead
|
3 years ago |
will
|
f6a74f74a7
|
Fix typo in CommandTree.fetch_command's NotFound doc
|
3 years ago |
Soheab
|
af265dba06
|
Add CommandTree.fetch_command
|
3 years ago |
Nickyux
|
823d650e97
|
Update comments in CommandTree to reflect commands v2
|
3 years ago |
Rapptz
|
081f483a0d
|
Fix tree not properly accounting for override when checking limits
|
3 years ago |
Rapptz
|
573b2121b7
|
Add support for NSFW application commands
Of course, this somehow doesn't work with subcommands
|
3 years ago |
Rapptz
|
f780b0a283
|
Add setting to fallback to global command if guild command isn't found
|
3 years ago |
z03h
|
bd727d2b0c
|
Add edit and delete methods to AppCommand
|
3 years ago |
Rapptz
|
5536ef1eea
|
Update to pyright 1.1.242
|
3 years ago |
Rapptz
|
ab64a2eae9
|
Fix typing of guilds kwargs to take Sequence instead of List
|
3 years ago |
Rapptz
|
cdf442bc32
|
Fix signature detection in CommandTree.error decorator
|
3 years ago |
Rapptz
|
3f4fb91328
|
Change CommandTree.on_error to only take two parameters
The command that failed can be retrieved using Interaction.command
so having it as a parameter doesn't make much sense.
|
3 years ago |
Rapptz
|
83fae4f0fa
|
Add CommandTree.clear_commands
|
3 years ago |
NextChai
|
5892bbd8b4
|
Allow getting all commands from CommandTree.get_commands
Co-authored-by: Danny <[email protected]>
|
3 years ago |
Rapptz
|
907d5e0ee7
|
Document Forbidden exception in CommandTree.sync
|
3 years ago |
Rapptz
|
24f8f8d4a7
|
Rename MaxCommandsReached to CommandLimitReached
|
3 years ago |
Rapptz
|
a0618ef791
|
Clarify documentation certain tree methods
|
3 years ago |
Rapptz
|
34b2ff40b6
|
Change ValueError on max commands reached to a more specific exception
|
3 years ago |
Rapptz
|
985f5732c0
|
Refactor ContextMenu constructor to allow app command type inferring
|
3 years ago |
James Gayfer
|
f26d3a7155
|
Add interaction check to command tree
In some cases, it's desirable for our command tree to only process a
subset of incoming interactions, such as in a multi process deployment.
|
3 years ago |
Rapptz
|
84c38f1f22
|
Ignore errors if it's already handled in app commands
|
3 years ago |
Rapptz
|
f7c664e3e2
|
Add error handler support for context menus
|
3 years ago |
Rapptz
|
202b993da3
|
Add Interaction.command and Interaction.namespace attributes
|
3 years ago |
Rapptz
|
3c6daff473
|
Change default ellipsis descriptions to use U+2026
|
3 years ago |
Rapptz
|
8ced1143e3
|
Change missing application ID error to be more descriptive
|
3 years ago |
Rapptz
|
698d1e12a1
|
Add CommandTree.error decorator to set on_error dynamically
|
3 years ago |
Rapptz
|
20aa6f866d
|
Fix CommandTree removal and getter overloads
|
3 years ago |
Rapptz
|
f015b59e43
|
Add CommandTree.walk_commands and Group.walk_commands
|
3 years ago |
Stocker
|
5aa696ccfa
|
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected]>
Co-authored-by: Josh <[email protected]>
|
3 years ago |
Rapptz
|
5e9097179b
|
Add CommandTree.copy_global_to method for quick development
|
3 years ago |
Rapptz
|
0ef369c0fa
|
[commands] Automatically unload top level app commands in extensions
|
3 years ago |
Rapptz
|
a672455ca9
|
Fix some context menu commands not being registered in guild contexts
This happened when there weren't any application commands due to a typo
stemming from a copy paste error.
Fixes #7650
|
3 years ago |
Rapptz
|
140a827190
|
Fix default guilds for commands not being respected
Pesky little typo
Fix #7641
|
3 years ago |
Rapptz
|
26c6b4d449
|
Use new differentiator for guild and global commands
Fixes #7602
|
3 years ago |
Arthur
|
8502978649
|
Check the global scope when dispatching context menus
|
3 years ago |
Rapptz
|
a6ae7ec196
|
Raise error if two trees are registered to the same connection state
|
3 years ago |
Rapptz
|
5741ad9368
|
Change default guild IDs attribute to persist on copy
|
3 years ago |
Rapptz
|
303d33bb08
|
Support Group with app_commands.guilds decorator
|
3 years ago |
Rapptz
|
25b4bc277b
|
Add app_commands.guilds to set the guilds of a command in another way
This is mostly preparation for interopability with commands.Cog as this
would allow authors to specify the guilds for their cog defined
commands.
|
3 years ago |