diff options
| author | 2020-06-08 23:36:20 +0200 | |
|---|---|---|
| committer | 2020-06-08 23:36:20 +0200 | |
| commit | 0d3af0d52b23b3390aadf37a82e905e8ee529a90 (patch) | |
| tree | 60ded15d117f21c6916a541508c16a884a1acd3f | |
| parent | Incidents: add new emoji constants (diff) | |
Incidents: create Signal enum & link members with emojis
| -rw-r--r-- | bot/cogs/moderation/incidents.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/cogs/moderation/incidents.py b/bot/cogs/moderation/incidents.py index 2ff1e949a..baceddf0c 100644 --- a/bot/cogs/moderation/incidents.py +++ b/bot/cogs/moderation/incidents.py @@ -1,12 +1,22 @@ import logging +from enum import Enum from discord.ext.commands import Cog from bot.bot import Bot +from bot.constants import Emojis log = logging.getLogger(__name__) +class Signal(Enum): + """Recognized incident status signals.""" + + ACTIONED = Emojis.incident_actioned + NOT_ACTIONED = Emojis.incident_unactioned + INVESTIGATING = Emojis.incident_investigating + + class Incidents(Cog): """Automation for the #incidents channel.""" |