Spaces:
Sleeping
Sleeping
Create config.py
Browse files
config.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pydantic_settings import BaseSettings
|
2 |
+
|
3 |
+
import os
|
4 |
+
|
5 |
+
|
6 |
+
class settings (BaseSettings):
|
7 |
+
WELCOME_CHANNEL_ID : str = os.environ.get('WELCOME_CHANNEL_ID')
|
8 |
+
DISCORD_BOT_TOKEN : str = os.environ.get('DISCORD_BOT_TOKEN')
|
9 |
+
WELCOME_IMAGE_API : str = os.environ.get('WELCOME_IMAGE_API')
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
settings = settings()
|