discord-bot / config.py
NameIsJACK's picture
Update config.py
ba19bcd verified
raw
history blame contribute delete
315 Bytes
from pydantic_settings import BaseSettings
import os
class settings (BaseSettings):
WELCOME_CHANNEL_ID: int = int(os.environ.get('WELCOME_CHANNEL_ID'))
DISCORD_BOT_TOKEN : str = os.environ.get('DISCORD_BOT_TOKEN')
WELCOME_IMAGE_API : str = os.environ.get('WELCOME_IMAGE_API')
settings = settings()