Fix AuditLogEntry.target being incorrect for bulk message delete

Fixes #6851
This commit is contained in:
Rapptz 2021-05-04 22:03:20 -04:00
parent b82a0dc6fd
commit b32ad3de37

View File

@ -373,6 +373,8 @@ class AuditLogAction(Enum):
return 'webhook'
elif v < 70:
return 'emoji'
elif v == 73:
return 'channel'
elif v < 80:
return 'message'
elif v < 90: