Skip to content

Commit 6a52eea

Browse files
committed
Fix AuditLogEntry.target being incorrect for bulk message delete
Fixes #6851
1 parent 9d2576e commit 6a52eea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord/enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ def target_type(self):
394394
return 'webhook'
395395
elif v < 70:
396396
return 'emoji'
397+
elif v == 73:
398+
return 'channel'
397399
elif v < 80:
398400
return 'message'
399401
elif v < 90:

0 commit comments

Comments
 (0)