[commands] Document that can_run can raise.
This commit is contained in:
parent
e61ac8e60f
commit
3a8b97ffb0
@ -658,6 +658,12 @@ class Command:
|
|||||||
ctx: :class:`.Context`
|
ctx: :class:`.Context`
|
||||||
The ctx of the command currently being invoked.
|
The ctx of the command currently being invoked.
|
||||||
|
|
||||||
|
Raises
|
||||||
|
-------
|
||||||
|
:class:`CommandError`
|
||||||
|
Any command error that was raised during a check call will be propagated
|
||||||
|
by this function.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
--------
|
--------
|
||||||
bool
|
bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user