From e53c85110f756c1bbf6f26a446ea1268dba83480 Mon Sep 17 00:00:00 2001 From: Skyweb Date: Tue, 5 Feb 2019 17:00:44 +0100 Subject: [PATCH] Clarified add_listener documentation --- discord/ext/commands/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 611121392..929e33cd8 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -435,9 +435,9 @@ class BotBase(GroupMixin): Parameters ----------- func : :ref:`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 --------