NameIsJACK commited on
Commit
0d207c7
·
verified ·
1 Parent(s): 23a6f06

Create config.py

Browse files
Files changed (1) hide show
  1. config.py +13 -0
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()