-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
27 lines (24 loc) · 943 Bytes
/
config.py
File metadata and controls
27 lines (24 loc) · 943 Bytes
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
from os import environ
ENV = True # make it false for heroku
# List of supported languages >>
# https://py-googletrans.readthedocs.io/en/latest/#googletrans-languages
if not ENV:
bot_token = ""
ARQ_API_KEY = ""
LANGUAGE = "id"
api_id = ""
api_hash = ""
ARQ_API_BASE_URL = "https://thearq.tech"
BOT_USERNAME = "Rio Chatbot"
KONTOL = "Rio"
MEMEK = "https://telegra.ph/file/0a766bf53e048281392aa.jpg"
else:
bot_token = str(environ.get("BOT_TOKEN", None))
ARQ_API_KEY = str(environ.get("ARQ_API_KEY", None))
LANGUAGE = str(environ.get("LANGUAGE", "id"))
api_id = int(environ.get("API_ID", 6))
api_hash = str(environ.get("API_HASH", "cd350d5d129d8feb5bc35cf109baa284"))
ARQ_API_BASE_URL = "https://thearq.tech"
BOT_USERNAME = str(environ.get("BOT_USERNAME", "jungkokchatbot"))
KONTOL = str(environ.get("BOT_NAME", "Rio"))
MEMEK = str(environ.get("MEDIA", "https://telegra.ph/file/0a766bf53e048281392aa.jpg"))