aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-07-14 10:45:23 +0100
committerGravatar shtlrs <[email protected]>2023-07-14 10:45:23 +0100
commit1093df74bd5c5e2888e89053aa0ab4510215f02f (patch)
tree1f1c8f47a44d6538b60c009bdb0677547d13e204
parentoverride env name for the delete emoji (diff)
use `Settings` as suffix for the classes
This is become we're inheriting from the `BaseSettings` class It's also to conform with the module name.
-rw-r--r--pydis_core/settings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_core/settings.py b/pydis_core/settings.py
index 6f735a82..a4cfcc08 100644
--- a/pydis_core/settings.py
+++ b/pydis_core/settings.py
@@ -8,7 +8,7 @@ By default, the values defined in the classes are used, these can be overridden
from pydantic import BaseSettings, Field
-class EnvConfig(BaseSettings):
+class EnvironmentSettings(BaseSettings):
"""Our default configuration for models that should load from .env files."""
class Config:
@@ -19,9 +19,9 @@ class EnvConfig(BaseSettings):
env_nested_delimiter = "__"
-class _PaginationEmojis(EnvConfig):
+class PaginationEmojisSettings(EnvironmentSettings):
- EnvConfig.Config.env_prefix = "emojis_"
+ EnvironmentSettings.Config.env_prefix = "emojis_"
first: str = "\u23EE"
left: str = "\u2B05"