forked from TheHamkerCat/WilliamButcherBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_config.py
33 lines (31 loc) · 1.67 KB
/
sample_config.py
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
32
33
HEROKU = True # NOTE Make it false if you're not deploying on heroku.
if HEROKU:
from os import environ
BOT_TOKEN = environ.get("BOT_TOKEN", None)
API_ID = int(environ.get("API_ID", 6))
API_HASH = environ.get("API_HASH", "eb06d4abfb49dc3eeb1aeb98ae0f581e")
SESSION_STRING = environ.get("SESSION_STRING", None)
USERBOT_PREFIX = environ.get("USERBOT_PREFIX", None)
SUDO_USERS_ID = list(int(x) for x in environ.get("SUDO_USERS_ID", "").split())
LOG_GROUP_ID = int(environ.get("LOG_GROUP_ID", None))
GBAN_LOG_GROUP_ID = int(environ.get("GBAN_LOG_GROUP_ID", None))
MESSAGE_DUMP_CHAT = int(environ.get("MESSAGE_DUMP_CHAT", None))
FERNET_ENCRYPTION_KEY = environ.get("FERNET_ENCRYPTION_KEY", None)
WELCOME_DELAY_KICK_SEC = int(environ.get("WELCOME_DELAY_KICK_SEC", None))
MONGO_DB_URI = environ.get("MONGO_DB_URI", None)
ARQ_API_BASE_URL = environ.get("ARQ_API_BASE_URL", None)
else:
BOT_TOKEN = "467677575:YZfaakjwd545dfg-N6JStihhuw5gQeZHntc"
API_ID = 123456
API_HASH = "dfxcgs5s12hdcxfgdfz"
USERBOT_PREFIX = "."
PHONE_NUMBER = "+916969696969" # Need for Helper Userbot
SUDO_USERS_ID = [4543744343, 543214651351] # Sudo users have full access to everythin, don't trust anyone
LOG_GROUP_ID = -100125431255
GBAN_LOG_GROUP_ID = -100125431255
MESSAGE_DUMP_CHAT = -1001181696437
FERNET_ENCRYPTION_KEY = "iKMq0WZMnJKjMQxZWKtv-cplMuF_LoyshXj0XbTGGWM=" # Leave this as it is
WELCOME_DELAY_KICK_SEC = 300
MONGO_DB_URI = "mongodb+srv://username:[email protected]/YourDataBaseName?retryWrites=true&w=majority"
# NOTE Don't make changes below this line
ARQ_API_BASE_URL = "http://thearq.tech"