Clarified add_listener documentation

This commit is contained in:
Skyweb 2019-02-05 17:00:44 +01:00 committed by Rapptz
parent 8586251089
commit e53c85110f

View File

@ -435,9 +435,9 @@ class BotBase(GroupMixin):
Parameters
-----------
func : :ref:`coroutine <coroutine>`
The extra event to listen to.
The function to call.
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
--------