Browse Source

[commands] Document that can_run can raise.

pull/977/head
Rapptz 7 years ago
parent
commit
3a8b97ffb0
  1. 6
      discord/ext/commands/core.py

6
discord/ext/commands/core.py

@ -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

Loading…
Cancel
Save