diff options
| author | 2020-10-11 10:10:21 +0300 | |
|---|---|---|
| committer | 2020-10-11 10:10:21 +0300 | |
| commit | 9c1f66e43ed35d9fe8ffdc3ae0a4bb7504bb9c93 (patch) | |
| tree | 3f33ee956eddc3acbc49136211c858cb1749878c | |
| parent | Merge remote-tracking branch 'up/master' into voice-gate (diff) | |
Add voice ban icons and show appeal footer for voice ban
| -rw-r--r-- | bot/exts/moderation/infraction/_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_utils.py b/bot/exts/moderation/infraction/_utils.py index 1d91964f1..bff5fcf4c 100644 --- a/bot/exts/moderation/infraction/_utils.py +++ b/bot/exts/moderation/infraction/_utils.py @@ -18,9 +18,10 @@ INFRACTION_ICONS = { "note": (Icons.user_warn, None), "superstar": (Icons.superstarify, Icons.unsuperstarify), "warning": (Icons.user_warn, None), + "voice_ban": (Icons.voice_state_red, Icons.voice_state_green), } RULES_URL = "https://pythondiscord.com/pages/rules" -APPEALABLE_INFRACTIONS = ("ban", "mute") +APPEALABLE_INFRACTIONS = ("ban", "mute", "voice_ban") # Type aliases UserObject = t.Union[discord.Member, discord.User] |