Alex Nørgaard
d95605839f
[commands] Fix _fallback attr not being set on replace for Parameter
2025-01-15 19:02:39 -05:00
Soheab
c5e74068f0
[commands] Unwrap Parameter if given as default to commands.parameter
2024-10-16 18:48:49 -04:00
Rapptz
a361a08482
[commands] Add fallback behaviour for CurrentGuild parameter
2023-08-01 18:15:36 -04:00
Rapptz
270fa5f2e0
[commands] Fix displayed_default for callables and None values
2023-07-07 00:09:10 -04:00
Josh
630b2a1e55
Update pyright version
2023-07-01 18:26:27 -04:00
Soheab_
94bf7d8644
[commands] Add displayed_name to commands.Parameter
2023-06-11 12:38:39 -04:00
crayyy_zee
8f19cfe729
[commands] Add missing description parameter to docs
2022-10-05 17:59:42 -04:00
Soheab
668196c14c
[commands] Add description kwarg to parameters and show in default help
2022-08-15 12:18:23 -04:00
Willy
b8ae05f59f
[commands] Fix missing ctx in example
2022-04-06 19:24:17 -04:00
Rapptz
b32b78de45
[commands] Fix missing or inferred type hints in parameters.py
2022-04-05 22:47:21 -04:00
Rapptz
629f36e7d7
[commands] Add fallback behaviour to the default parameter instances
...
This allows users to explicitly override the default annotation for
CurrentAuthor and CurrentChannel since they're wider than what most
users would expect
2022-04-05 06:40:31 -04:00
Rapptz
dbcdf69eb1
[commands] Raise appropriate exception for no guild found
2022-04-04 21:49:11 -04:00
Rapptz
8b50ac8a31
[commands] Don't set a converter for the defaults provided
2022-04-04 21:47:03 -04:00
Rapptz
66155faf00
[commands] Fix documentation not being properly formatted
2022-04-04 18:10:43 -04:00
James Hilton-Balfe
55c5be78cf
[commands] Implement commands.parameter
2022-04-04 18:01:21 -04:00