Skip to content

Commit

Permalink
+ Added Configuration setup
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeine-addictt committed Dec 13, 2023
1 parent 804e544 commit ffc119c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import os
from dotenv import load_dotenv
from typing import NoReturn, Optional

load_dotenv()

class Config:
"""Configurations"""

BOT_TOKEN: Optional[str] = os.getenv('BOT_TOKEN')
COMMAND_PREFIX: str = '$'

def __init__(self, *args, **kwargs) -> NoReturn:
raise NotImplementedError('Not instantiable')

0 comments on commit ffc119c

Please sign in to comment.