67 Commits (v2.1.x)

Author SHA1 Message Date
ster 95b6bd8782
Add coro tag to docstrings that were missing it 3 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 3 years ago
Rapptz 5cc6af5917 Fix CommandSyncFailure raising for other 400 error types 3 years ago
Bryan Forbes b12b4b18fd
Mark public callbacks as positional-only 3 years ago
Puncher 354d4bace4
Add missing decorator signs for interaction documentation 3 years ago
Rapptz 59677c6738 Fix CommandTree.on_error not triggering if interaction_check raises 3 years ago
Rapptz bd19ad05e7 Fix app_command_completion triggering on certain errors 3 years ago
Rapptz 0ec06f0ac5 Add on_app_command_completion event 3 years ago
Rapptz 1fa7d7e402 Raise special CommandSyncFailure during sync for better errors 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 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 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 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 3 years ago
Rapptz 83fae4f0fa Add CommandTree.clear_commands 3 years ago
NextChai 5892bbd8b4
Allow getting all commands from CommandTree.get_commands 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 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 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 3 years ago