diff options
| author | 2019-12-18 09:28:18 -0800 | |
|---|---|---|
| committer | 2019-12-18 09:28:18 -0800 | |
| commit | 8210d839225d58e846260addcf9e298c04391bd8 (patch) | |
| tree | ff3be5a7bd2a86fba868cc5c4bf12604c94d809f | |
| parent | ModLog: change voice state embed icon and colour (diff) | |
ModLog: support self_stream voice state
This feature will be available in discord.py 1.3.
| -rw-r--r-- | bot/cogs/moderation/modlog.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/cogs/moderation/modlog.py b/bot/cogs/moderation/modlog.py index 8dea44efe..8509e9c07 100644 --- a/bot/cogs/moderation/modlog.py +++ b/bot/cogs/moderation/modlog.py @@ -25,7 +25,11 @@ CHANNEL_CHANGES_SUPPRESSED = ("_overwrites", "position") MEMBER_CHANGES_SUPPRESSED = ("status", "activities", "_client_status", "nick") ROLE_CHANGES_UNSUPPORTED = ("colour", "permissions") -VOICE_STATE_ATTRIBUTES = {"self_video": "Broadcasting", "channel.name": "Channel"} +VOICE_STATE_ATTRIBUTES = { + "channel.name": "Channel", + "self_stream": "Streaming", + "self_video": "Broadcasting", +} class ModLog(Cog, name="ModLog"): |