aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/moderation/utils.py7
-rw-r--r--bot/constants.py3
-rw-r--r--config-default.yml3
3 files changed, 10 insertions, 3 deletions
diff --git a/bot/cogs/moderation/utils.py b/bot/cogs/moderation/utils.py
index 788a40d40..c05cb69a1 100644
--- a/bot/cogs/moderation/utils.py
+++ b/bot/cogs/moderation/utils.py
@@ -15,11 +15,12 @@ log = logging.getLogger(__name__)
# apply icon, pardon icon
INFRACTION_ICONS = {
- "mute": (Icons.user_mute, Icons.user_unmute),
- "kick": (Icons.sign_out, None),
"ban": (Icons.user_ban, Icons.user_unban),
- "warning": (Icons.user_warn, None),
+ "kick": (Icons.sign_out, None),
+ "mute": (Icons.user_mute, Icons.user_unmute),
"note": (Icons.user_warn, None),
+ "superstar": (Icons.superstarify, Icons.unsuperstarify),
+ "warning": (Icons.user_warn, None),
}
RULES_URL = "https://pythondiscord.com/pages/rules"
APPEALABLE_INFRACTIONS = ("ban", "mute")
diff --git a/bot/constants.py b/bot/constants.py
index 838fe7a79..ad68919ea 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -308,6 +308,9 @@ class Icons(metaclass=YAMLGetter):
questionmark: str
+ superstarify: str
+ unsuperstarify: str
+
class CleanMessages(metaclass=YAMLGetter):
section = "bot"
diff --git a/config-default.yml b/config-default.yml
index 4638a89ee..8d7481833 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -82,6 +82,9 @@ style:
questionmark: "https://cdn.discordapp.com/emojis/512367613339369475.png"
+ superstarify: "https://cdn.discordapp.com/emojis/636288153044516874.png"
+ unsuperstarify: "https://cdn.discordapp.com/emojis/636288201258172446.png"
+
guild:
id: 267624335836053506