Skip to content

Commit 51345e4

Browse files
+ Config variables
1 parent 99d9120 commit 51345e4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/config.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
import os
22
from dotenv import load_dotenv
3-
from typing import NoReturn, Optional
3+
from typing import NoReturn
44

55
load_dotenv()
66

77
class Config:
88
"""Configurations"""
99

10-
BOT_TOKEN: Optional[str] = os.getenv('BOT_TOKEN')
10+
BOT_TOKEN: str = os.getenv('BOT_TOKEN')
11+
12+
GUILD_ID: int = 1184345962412507157
13+
RULE_CHANNEL_ID: int = 1184494394682916954
14+
WELCOME_CHANNEL_ID: int = 1184345962861314050
15+
1116
COMMAND_PREFIX: str = '$'
17+
DEVELOPER_USER_ID: int = 470966329931857921
1218

1319
def __init__(self, *args, **kwargs) -> NoReturn:
14-
raise NotImplementedError('Not instantiable')
20+
raise NotImplementedError('Not instantiable')
21+

0 commit comments

Comments
 (0)