Added on_raw_typing event
				
					
				
			This commit is contained in:
		
							
								
								
									
										19
									
								
								docs/api.rst
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								docs/api.rst
									
									
									
									
									
								
							@@ -369,6 +369,17 @@ to handle it, which defaults to print a traceback and ignoring the exception.
 | 
			
		||||
    :param when: When the typing started as an aware datetime in UTC.
 | 
			
		||||
    :type when: :class:`datetime.datetime`
 | 
			
		||||
 | 
			
		||||
.. function:: on_raw_typing(payload)
 | 
			
		||||
 | 
			
		||||
    Called when someone begins typing a message. Unlike :func:`on_typing`, this is 
 | 
			
		||||
    called regardless if the user can be found or not. This most often happens
 | 
			
		||||
    when a user types in DMs.
 | 
			
		||||
 | 
			
		||||
    This requires :attr:`Intents.typing` to be enabled.
 | 
			
		||||
 | 
			
		||||
    :param payload: The raw typing payload.
 | 
			
		||||
    :type payload: :class:`RawTypingEvent`
 | 
			
		||||
 | 
			
		||||
.. function:: on_message(message)
 | 
			
		||||
 | 
			
		||||
    Called when a :class:`Message` is created and sent.
 | 
			
		||||
@@ -3846,6 +3857,14 @@ GuildSticker
 | 
			
		||||
.. autoclass:: GuildSticker()
 | 
			
		||||
    :members:
 | 
			
		||||
 | 
			
		||||
RawTypingEvent
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 | 
			
		||||
.. attributetable:: RawTypingEvent
 | 
			
		||||
 | 
			
		||||
.. autoclass:: RawTypingEvent()
 | 
			
		||||
    :members:
 | 
			
		||||
 | 
			
		||||
RawMessageDeleteEvent
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user