diff options
| author | Rapptz <[email protected]> | 2021-05-04 22:03:20 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-05-04 22:03:20 -0400 |
| commit | b32ad3de3701a6c4d5ce73c579507b5a3dd9440a (patch) | |
| tree | b76c97b899ec573bb2652dea0e1fae7f8a068253 /discord/enums.py | |
| parent | [docs] remove mentions of bot only usability (diff) | |
| download | discord.py-b32ad3de3701a6c4d5ce73c579507b5a3dd9440a.tar.xz discord.py-b32ad3de3701a6c4d5ce73c579507b5a3dd9440a.zip | |
Fix AuditLogEntry.target being incorrect for bulk message delete
Fixes #6851
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py index 0d7305ba..7672602f 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -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: |