7 Commits

Author SHA1 Message Date
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