Alex Nørgaard
d95605839f
[commands] Fix _fallback attr not being set on replace for Parameter
3 months ago
Soheab
c5e74068f0
[commands] Unwrap Parameter if given as default to commands.parameter
6 months ago
Rapptz
a361a08482
[commands] Add fallback behaviour for CurrentGuild parameter
2 years ago
Rapptz
270fa5f2e0
[commands] Fix displayed_default for callables and None values
2 years ago
Josh
630b2a1e55
Update pyright version
2 years ago
Soheab_
94bf7d8644
[commands] Add displayed_name to commands.Parameter
2 years ago
crayyy_zee
8f19cfe729
[commands] Add missing description parameter to docs
3 years ago
Soheab
668196c14c
[commands] Add description kwarg to parameters and show in default help
3 years ago
Willy
b8ae05f59f
[commands] Fix missing ctx in example
3 years ago
Rapptz
b32b78de45
[commands] Fix missing or inferred type hints in parameters.py
3 years ago
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
3 years ago
Rapptz
dbcdf69eb1
[commands] Raise appropriate exception for no guild found
3 years ago
Rapptz
8b50ac8a31
[commands] Don't set a converter for the defaults provided
3 years ago
Rapptz
66155faf00
[commands] Fix documentation not being properly formatted
3 years ago
James Hilton-Balfe
55c5be78cf
[commands] Implement commands.parameter
3 years ago