Clarified add_listener documentation
This commit is contained in:
parent
8586251089
commit
e53c85110f
@ -435,9 +435,9 @@ class BotBase(GroupMixin):
|
|||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
func : :ref:`coroutine <coroutine>`
|
func : :ref:`coroutine <coroutine>`
|
||||||
The extra event to listen to.
|
The function to call.
|
||||||
name : Optional[str]
|
name : Optional[str]
|
||||||
The name of the command to use. Defaults to ``func.__name__``.
|
The name of the event to listen for. Defaults to ``func.__name__``.
|
||||||
|
|
||||||
Example
|
Example
|
||||||
--------
|
--------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user