mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	Clarified add_listener documentation
This commit is contained in:
		| @@ -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 | ||||||
|         -------- |         -------- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user