diff options
| author | 2020-11-16 20:49:18 +0200 | |
|---|---|---|
| committer | 2020-11-16 20:49:18 +0200 | |
| commit | 0d167d9a331d0a1e50358d7502b3e88f8855d5a6 (patch) | |
| tree | ffb6d5c28f21bab62bca394d68f8ce8b2cb9e889 | |
| parent | Add arrow dependency for branding (diff) | |
Create AssetType enum
| -rw-r--r-- | bot/constants.py | 11 |
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 |