aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-05-06 16:13:14 +0100
committerGravatar Chris Lovering <[email protected]>2023-05-09 15:42:23 +0100
commit9266ce3a1b3e9f20ca01e8bfc75530f1ac21f7cf (patch)
treee159a0fae7850d706d713cf2b49dfed2140ce655 /bot/constants.py
parentApply fixes for ruff linting (diff)
Move unshared contants inside modules
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 230cccf0..cd866a0b 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -5,8 +5,6 @@ from os import environ
from pydantic import BaseSettings, SecretStr
__all__ = (
- "Branding",
- "Cats",
"Channels",
"Categories",
"Client",
@@ -20,7 +18,6 @@ __all__ = (
"Wolfram",
"Reddit",
"Redis",
- "RedirectOutput",
"PYTHON_PREFIX",
"MODERATION_ROLES",
"STAFF_ROLES",
@@ -46,19 +43,6 @@ class EnvConfig(BaseSettings):
env_file_encoding = "utf-8"
-class _Branding(EnvConfig):
- EnvConfig.Config.env_prefix = "branding_"
-
- cycle_frequency = 3 # 0: never, 1: every day, 2: every other day, ...
-
-
-Branding = _Branding()
-
-
-class Cats:
- cats = ["ᓚᘏᗢ", "ᘡᘏᗢ", "🐈", "ᓕᘏᗢ", "ᓇᘏᗢ", "ᓂᘏᗢ", "ᘣᘏᗢ", "ᕦᘏᗢ", "ᕂᘏᗢ"]
-
-
class _Channels(EnvConfig):
EnvConfig.Config.env_prefix = "channels_"
@@ -97,8 +81,6 @@ class _Categories(EnvConfig):
Categories = _Categories()
-CODEJAM_CATEGORY_NAME = "Code Jam" # Name of the codejam team categories
-
class _Client(EnvConfig):
EnvConfig.Config.env_prefix = "client_"
@@ -329,15 +311,6 @@ class _Redis(EnvConfig):
Redis = _Redis()
-class Source:
- github = "https://github.com/python-discord/sir-lancebot"
- github_avatar_url = "https://avatars1.githubusercontent.com/u/9919"
-
-
-class RedirectOutput:
- delete_delay: int = 10
-
-
class _Reddit(EnvConfig):
EnvConfig.Config.env_prefix = "reddit_"