Initial
This commit is contained in:
0
nwxraybot/__init__.py
Normal file
0
nwxraybot/__init__.py
Normal file
6
nwxraybot/config.py
Normal file
6
nwxraybot/config.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pydantic import Field, SecretStr
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
bot_token: SecretStr = Field(..., env="BOT_TOKEN")
|
||||
Reference in New Issue
Block a user