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

Lines changed: 10 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy