From 2efd380a7e0c388fba3f6383c92f3faad890df77 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Sat, 18 May 2024 16:26:11 -0400 Subject: [PATCH] Add VoteType Enum. --- utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.py b/utils.py index 75539cc..f852437 100644 --- a/utils.py +++ b/utils.py @@ -4,6 +4,7 @@ File contains util functions. import os from datetime import datetime +from enum import Enum from typing import Iterable import nextcord @@ -24,6 +25,8 @@ REPO_DIR = "./dakiny-messages" MESSAGES_DIR = f"{REPO_DIR}/messages" TEMPLATES_DIR = f"{REPO_DIR}/message_templates" +VoteType = Enum("VoteType", ["COUNCIL", "DISCORDMANAGER", "CLANLEADER"]) + def get_datetime(day: str) -> datetime: """