858 Commits

Author SHA1 Message Date
Bryan Forbes
0ea098567c
[commands] Use ... for Command and Group typing 2023-03-01 22:47:17 -05:00
Bryan Forbes
4d51f68864
[commands] Fix some more partially uknown typing errors 2023-03-01 19:37:38 -05:00
Soheab_
a5a93a85bc
[commands] Document GroupCog.interaction_check 2023-02-28 02:20:00 -05:00
Puncher
1e9d04bbca
Add missing and fix wrong docstrings 2023-02-28 02:18:59 -05:00
Devon R
8f3224b70b
[commands] Change Paginator.pages to not prematurely close 2023-02-24 16:24:50 -05:00
owocado
d26dbf3a7a
Fix a few typos in the docs
Co-authored-by: o-wo <24418520+o-wo@users.noreply.github.com>
2023-02-23 00:47:08 -05:00
AAA3A
742630f144
[commands] Fix error involving hybrid groups in Cog 2023-02-10 19:33:27 -05:00
Server Bot
d523fc4a83
[commands] Add silent kwarg to Context.send 2023-02-09 02:51:23 -05:00
Rapptz
93ed1646d2 Cleanup some private utilities in app_commands.commands 2023-02-02 00:33:18 -05:00
Rapptz
23bcb07d2b [commands] Fix generic arg on Context.interaction 2023-02-01 07:46:31 -05:00
chrispy
774219acae
[commands] Update Range examples to match app_commands.Range 2023-01-31 09:02:36 -05:00
yaakiyu
20c7e261be
[commands] Fix small "commands" typo in hybrid documentation 2023-01-25 19:41:40 -05:00
Rapptz
faee0b4968 [commands] Explicit set traceback for hybrid invoke
Fix #9205
2023-01-25 03:05:24 -05:00
Rapptz
3ff88db768 Update pyright to 1.1.289 2023-01-16 21:57:54 -05:00
Leonardo
f4c0a051ab
[commands] Hint hybrid commands in GroupCog's description 2023-01-14 18:55:32 -05:00
Rapptz
da317ad84b [commands] Respect ignore_extra for FlagConverter kw-only parameters 2022-11-29 18:09:53 -05:00
Alex Nørgaard
50078087e5
[commands] Fix variance issues in Bot.add_cog with List[Snowflake] 2022-11-21 01:15:18 -05:00
Steve C
7365dd1bd2
[commands] Allow delete_after in Context.send on ephemeral messages 2022-10-26 04:29:25 -04:00
Jonah Lawrence
d7b6a2ad12
Fix usage of single backticks to links and code-blocks 2022-10-26 04:26:56 -04:00
rdrescher909
01915fbc09
[tasks] Clarify Loop.stop interaction with before_loop 2022-10-19 21:36:05 -04:00
Julien Mauroy
d0625154ed
[commands] Add Cog.has_app_command_error_handler 2022-10-10 16:37:48 -04:00
crayyy_zee
8f19cfe729
[commands] Add missing description parameter to docs 2022-10-05 17:59:42 -04:00
ster
95b6bd8782
Add coro tag to docstrings that were missing it 2022-10-02 17:52:18 -04:00
Omkaar
c30a2f3ca0
Refactor certain f-strings and literals 2022-10-02 17:50:56 -04:00
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
2022-10-01 03:16:01 -04:00
Rapptz
c35ff4cfc6 [commands] Allow Greedy to potentially maintain state between calls 2022-09-20 23:53:48 -04:00
Caleb
edfacb36cf
[commands] Fix HybridCommandGroup._update_copy to update fallback
Fix #8461
2022-09-12 15:31:08 -04:00
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__`
2022-09-12 15:25:55 -04:00
Rapptz
9971c2e09a [commands] Add __repr__ to Range 2022-09-08 02:06:36 -04:00
Varun J
75fd49e6a1
[commands] fix Range to allow 3.10 Union syntax 2022-09-08 02:04:07 -04:00
Rapptz
9ed5fbecea [commands] Add support for NumPy style docstrings for commands 2022-09-04 00:34:17 -04:00
NextChai
bdda31307b
[commands] Add GroupCog.group_extras to set Group.extras
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-08-31 01:28:39 -04:00
Rapptz
6ab6b2cb96 [commands] Fix Context.from_interaction ignoring command_failed 2022-08-30 05:08:11 -04:00
Puncher
64744a4938
[commands] Add missing attributetable to classes 2022-08-30 00:50:59 -04:00
Bryan Forbes
b12b4b18fd
Mark public callbacks as positional-only 2022-08-22 15:21:19 -04:00
Josh
01bb7ecb79
[commands] Add support for types.Union to Greedy 2022-08-21 18:26:32 -04:00
Bobby-McBobface
641dcf61a5
[commands] Fix incorrect docs in dynamic_cooldown
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-08-19 16:15:14 -04:00
Rapptz
1c7747fe9d Fix nested Annotated calls not resolving 2022-08-17 10:41:57 -04:00
Rapptz
54ee383585 [commands] Add warning if Intent.message_content is not enabled 2022-08-17 03:52:29 -04:00
Rapptz
bd19ad05e7 Fix app_command_completion triggering on certain errors 2022-08-16 20:03:02 -04:00
Rapptz
1a11c9eeee [commands] Properly set module information for hybrid commands 2022-08-16 01:28:27 -04:00
Soheab
668196c14c
[commands] Add description kwarg to parameters and show in default help 2022-08-15 12:18:23 -04:00
JohannesIBK
610edaeead [commands] Add option to disable auto_locale_strings in GroupCog 2022-08-14 00:59:33 -04:00
Rapptz
9ce1541775 Rename Interaction.original_message to original_response 2022-08-08 08:11:19 -04:00
Puncher
44abc469f1
[commands] Remove unused with_command HybridCommand parameter 2022-08-07 17:20:02 -04:00
Rapptz
2d586ae805 Add initial support for app command localisation 2022-08-05 22:35:30 -04:00
Rapptz
eb3bc7102b [commands] Ensure Command.extras are copied
Fix #8309
2022-08-05 21:56:51 -04:00
Bryan Forbes
d707019348
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores 2022-08-04 22:46:02 -04:00
Rapptz
60079aee1b [commands] Fix Annotated not working with FlagConverter 2022-08-04 10:44:03 -04:00
Rapptz
6c42065210 Fix various a -> an typos across the library
Closes #8301, #8287
2022-08-04 08:17:07 -04:00