Clarify on_ready triggering more than twice.
				
					
				
			On that note, fix the background_task example to use `Client.run` instead of manual loop management. That way the task will be cleaned up and cancelled inside `Client.run`.
This commit is contained in:
		@@ -108,6 +108,9 @@ to handle it, which defaults to print a traceback and ignore the exception.
 | 
			
		||||
    .. warning::
 | 
			
		||||
 | 
			
		||||
        This function is not guaranteed to be the first event called.
 | 
			
		||||
        Likewise, this function is **not** guaranteed to only be called
 | 
			
		||||
        once. This library implements reconnection logic and thus will
 | 
			
		||||
        end up calling this event whenever a RESUME request fails.
 | 
			
		||||
 | 
			
		||||
.. function:: on_resumed()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user