aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-16 20:49:18 +0200
committerGravatar ks129 <[email protected]>2020-11-16 20:49:18 +0200
commit0d167d9a331d0a1e50358d7502b3e88f8855d5a6 (patch)
treeffb6d5c28f21bab62bca394d68f8ce8b2cb9e889
parentAdd arrow dependency for branding (diff)
Create AssetType enum
-rw-r--r--bot/constants.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 1b7a09244..eae9af006 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -661,6 +661,17 @@ class Month(IntEnum):
return self.name.title()
+class AssetType(Enum):
+ """
+ Discord media assets.
+
+ The values match exactly the kwarg keys that can be passed to `Guild.edit`.
+ """
+
+ BANNER = "banner"
+ SERVER_ICON = "icon"
+
+
# Debug mode
DEBUG_MODE = True if 'local' in os.environ.get("SITE_URL", "local") else False