mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
[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`
|
||||
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…
x
Reference in New Issue
Block a user