[commands] Document that can_run can raise.

This commit is contained in:
Rapptz 2017-12-29 06:00:25 -05:00
parent e61ac8e60f
commit 3a8b97ffb0

View File

@ -658,6 +658,12 @@ class Command:
ctx: :class:`.Context`
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
--------
bool