Add automod types to audit log

This commit is contained in:
z03h
2022-07-07 16:30:03 -07:00
committed by GitHub
parent b88bdaf4c0
commit 04aeff660b
5 changed files with 70 additions and 19 deletions

View File

@ -452,8 +452,10 @@ class AuditLogAction(Enum):
return 'thread'
elif v < 122:
return 'integration_or_app_command'
elif v < 144:
elif v < 143:
return 'auto_moderation'
elif v == 143:
return 'user'
class UserFlags(Enum):