Daniel Baulig
55d9ee9b72
Use get_bot_mapping to generate bot help
This change makes it so that `DefaultHelpCommand` uses it's `mapping` argument (generated by `get_bot_mapping()`), to generate it's help output. This change does not directly change DefaultHelpCommand behavior and will continue to generate the same output, but allows subclasses to override get_bot_mapping to make alterations to the return value of get_bot_mapping to, for example, add or remove elements.
2 years ago
Andrin S
2ddb9d22ba
Add overloads to reply and send
2 years ago
Soheab_
a938b10e5a
[commands] Pass failed argument's value to BadLiteralArgument
2 years ago
Bryan Forbes
0ea098567c
[commands] Use `...` for `Command` and `Group` typing
2 years ago
Bryan Forbes
4d51f68864
[commands] Fix some more partially uknown typing errors
2 years ago
Soheab_
a5a93a85bc
[commands] Document GroupCog.interaction_check
2 years ago
Puncher
1e9d04bbca
Add missing and fix wrong docstrings
2 years ago
Devon R
8f3224b70b
[commands] Change Paginator.pages to not prematurely close
2 years ago
owocado
d26dbf3a7a
Fix a few typos in the docs
Co-authored-by: o-wo <[email protected] >
2 years ago
AAA3A
742630f144
[commands] Fix error involving hybrid groups in Cog
2 years ago
Server Bot
d523fc4a83
[commands] Add silent kwarg to Context.send
2 years ago
Rapptz
93ed1646d2
Cleanup some private utilities in app_commands.commands
2 years ago
Rapptz
23bcb07d2b
[commands] Fix generic arg on Context.interaction
2 years ago
chrispy
774219acae
[commands] Update Range examples to match app_commands.Range
2 years ago
yaakiyu
20c7e261be
[commands] Fix small "commands" typo in hybrid documentation
2 years ago
Rapptz
faee0b4968
[commands] Explicit set traceback for hybrid invoke
Fix #9205
2 years ago
Rapptz
3ff88db768
Update pyright to 1.1.289
2 years ago
Leonardo
f4c0a051ab
[commands] Hint hybrid commands in GroupCog's description
2 years ago
Rapptz
da317ad84b
[commands] Respect ignore_extra for FlagConverter kw-only parameters
3 years ago
Alex Nørgaard
50078087e5
[commands] Fix variance issues in Bot.add_cog with List[Snowflake]
3 years ago
Steve C
7365dd1bd2
[commands] Allow delete_after in Context.send on ephemeral messages
3 years ago
Jonah Lawrence
d7b6a2ad12
Fix usage of single backticks to links and code-blocks
3 years ago
rdrescher909
01915fbc09
[tasks] Clarify Loop.stop interaction with before_loop
3 years ago
Julien Mauroy
d0625154ed
[commands] Add Cog.has_app_command_error_handler
3 years ago
crayyy_zee
8f19cfe729
[commands] Add missing description parameter to docs
3 years ago
ster
95b6bd8782
Add coro tag to docstrings that were missing it
3 years ago
Omkaar
c30a2f3ca0
Refactor certain f-strings and literals
3 years ago
Jakub Kuczys
7c218b3833
Fix migration guide docs for abc.PrivateChannel and cooldown()
* Move PrivateChannel ABC change to proper subsection in migration guide
* Add change to the accepted callables in cooldown() to migration guide
3 years ago
Rapptz
c35ff4cfc6
[commands] Allow Greedy to potentially maintain state between calls
3 years ago
Caleb
edfacb36cf
[commands] Fix HybridCommandGroup._update_copy to update fallback
Fix #8461
3 years ago
Ionite
6981eb69c4
Normalize type formatting in TypeError
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
3 years ago
Rapptz
9971c2e09a
[commands] Add __repr__ to Range
3 years ago
Varun J
75fd49e6a1
[commands] fix Range to allow 3.10 Union syntax
3 years ago
Rapptz
9ed5fbecea
[commands] Add support for NumPy style docstrings for commands
3 years ago
NextChai
bdda31307b
[commands] Add GroupCog.group_extras to set Group.extras
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
6ab6b2cb96
[commands] Fix Context.from_interaction ignoring command_failed
3 years ago
Puncher
64744a4938
[commands] Add missing attributetable to classes
3 years ago
Bryan Forbes
b12b4b18fd
Mark public callbacks as positional-only
3 years ago
Josh
01bb7ecb79
[commands] Add support for types.Union to Greedy
3 years ago
Bobby-McBobface
641dcf61a5
[commands] Fix incorrect docs in dynamic_cooldown
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
1c7747fe9d
Fix nested Annotated calls not resolving
3 years ago
Rapptz
54ee383585
[commands] Add warning if Intent.message_content is not enabled
3 years ago
Rapptz
bd19ad05e7
Fix app_command_completion triggering on certain errors
3 years ago
Rapptz
1a11c9eeee
[commands] Properly set module information for hybrid commands
3 years ago
Soheab
668196c14c
[commands] Add description kwarg to parameters and show in default help
3 years ago
JohannesIBK
610edaeead
[commands] Add option to disable `auto_locale_strings` in GroupCog
3 years ago
Rapptz
9ce1541775
Rename Interaction.original_message to original_response
3 years ago
Puncher
44abc469f1
[commands] Remove unused with_command HybridCommand parameter
3 years ago
Rapptz
2d586ae805
Add initial support for app command localisation
3 years ago
Rapptz
eb3bc7102b
[commands] Ensure Command.extras are copied
Fix #8309
3 years ago