mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 02:23:04 +00:00 
			
		
		
		
	Properly restrict auto_moderation audit log action range
This commit is contained in:
		| @@ -481,7 +481,7 @@ class AuditLogAction(Enum): | |||||||
|             return 'thread' |             return 'thread' | ||||||
|         elif v < 122: |         elif v < 122: | ||||||
|             return 'integration_or_app_command' |             return 'integration_or_app_command' | ||||||
|         elif v < 143: |         elif 139 < v < 143: | ||||||
|             return 'auto_moderation' |             return 'auto_moderation' | ||||||
|         elif v < 146: |         elif v < 146: | ||||||
|             return 'user' |             return 'user' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user