873 Commits

Author SHA1 Message Date
Rapptz
6e202749d6 [commands] Add fallback behaviour for CurrentGuild parameter 2023-08-10 17:07:05 -04:00
Rapptz
3679b7c251 [commands] Fix displayed_default for callables and None values 2023-08-10 17:01:50 -04:00
Rapptz
c67a0c1972 [commands] Fix =None being displayed in signatures for commands 2023-08-10 17:01:48 -04:00
Rapptz
ee99036659 [commands] Revert on_error when cog is ejected for HelpCommand 2023-08-10 16:55:32 -04:00
Rapptz
5e86be3b72 [commands] Change lookup order to place nicknames last 2023-06-26 03:58:34 -04:00
Rapptz
dc4ed438a5 Fix plain username lookup for Guild.get_member_named
Fix #9451
2023-06-12 19:39:46 -04:00
Soheab_
94bf7d8644
[commands] Add displayed_name to commands.Parameter 2023-06-11 12:38:39 -04:00
Sebastian Law
2ab6541715
[commands] Document exceptions being ignored in teardown and cog_unload
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2023-05-23 20:31:49 -04:00
Rapptz
e870bb1335 Add constant for the default file size limit 2023-05-19 21:21:37 -04:00
Rapptz
48cca30ca1 Revert removal of discriminator lookup 2023-05-19 20:59:19 -04:00
Rapptz
df01db3490 Initial support for pomelo migration 2023-05-19 20:59:19 -04:00
owocado
1deb5bf82d
[commands] Add Context.filesize_limit property 2023-05-19 20:37:03 -04:00
James Hilton-Balfe
fdf03d4bca
[commands] Use get_role where appropriate in role decorators 2023-04-18 00:11:39 -04:00
Andrin S
2ddb9d22ba
Add overloads to reply and send 2023-03-30 08:36:33 -04:00
Soheab_
a938b10e5a
[commands] Pass failed argument's value to BadLiteralArgument 2023-03-03 09:07:22 -05:00
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