mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
Clarified add_listener documentation
This commit is contained in:
parent
8586251089
commit
e53c85110f
@ -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
|
||||
--------
|
||||
|
Loading…
x
Reference in New Issue
Block a user