Add support for AuditLogDiff.slowmode_delay.
This commit is contained in:
		
							
								
								
									
										19
									
								
								docs/api.rst
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								docs/api.rst
									
									
									
									
									
								
							@@ -572,22 +572,22 @@ Application Info
 | 
			
		||||
 | 
			
		||||
        The owner of the application. This is a :class:`User` instance
 | 
			
		||||
        with the owner's information at the time of the call.
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
    .. attribute:: bot_public
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
        ``True`` if the bot is considered as public, else ``False``.
 | 
			
		||||
        Determines if the bot can be invited by anyone or if it is locked
 | 
			
		||||
        to the token owner. Correspond to the "Public bot" box in the
 | 
			
		||||
        token settings.
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
    .. attribute:: bot_require_code_grant
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
        ``True`` if the bot requires code grant, else ``False``.
 | 
			
		||||
        Correspond to the "Bot requires code grant" box in the token
 | 
			
		||||
        settings.
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
    .. attribute:: rpc_origins
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
        Returns an array of RPC origin URL strings, if RPC is enabled.
 | 
			
		||||
        If RPC isn't enabled, returns ``None``.
 | 
			
		||||
 | 
			
		||||
@@ -1741,6 +1741,13 @@ this goal, it must make use of a couple of data classes that aid in this goal.
 | 
			
		||||
 | 
			
		||||
        See also :attr:`User.avatar`.
 | 
			
		||||
 | 
			
		||||
    .. attribute:: slowmode_delay
 | 
			
		||||
 | 
			
		||||
        :class:`int` – The number of seconds members have to wait before
 | 
			
		||||
        sending another message in the channel.
 | 
			
		||||
 | 
			
		||||
        See also :attr:`TextChannel.slowmode_delay`.
 | 
			
		||||
 | 
			
		||||
.. this is currently missing the following keys: reason and application_id
 | 
			
		||||
   I'm not sure how to about porting these
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user