-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
31 lines (26 loc) · 1.12 KB
/
config.py
File metadata and controls
31 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from dotenv import load_dotenv
load_dotenv()
version = "1.0.5"
token = os.environ.get("token")
applicationId = os.environ.get("applicationId")
admin_ids_str: str | None = os.environ.get("adminIds")
adminIds: list[int] = [int(id) for id in admin_ids_str.split(",")] if admin_ids_str is not None else []
activity = "Tanjun {version}"
database_ip = os.environ.get("database_ip")
database_port = int(os.environ.get("database_port", 3306))
database_password = os.environ.get("database_password")
database_user = os.environ.get("database_user")
database_schema = os.environ.get("database_schema")
tenorAPIKey = os.environ.get("tenorAPIKey")
tenorCKey = os.environ.get("tenorCKey")
GithubAuthToken = os.environ.get("GithubAuthToken")
ImgBBApiKey = os.environ.get("ImgBBApiKey")
openAiKey = os.environ.get("openAIKey")
bytebin_url = os.environ.get("bytebin_url")
bytebin_password = os.environ.get("bytebin_password")
bytebin_username = os.environ.get("bytebin_username")
brawlstarsToken = os.environ.get("brawlstarsToken")
twitchSecret = os.environ.get("twitchSecret")
twitchId = os.environ.get("twitchId")
prefix = os.environ.get("prefix")