forked from The-HellBot/OldPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex_config.py
More file actions
22 lines (16 loc) · 903 Bytes
/
Copy pathex_config.py
File metadata and controls
22 lines (16 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# FOR SELF HOST
# EDIT THIS FILE AND RENAME TO config.py TO MAKE THIS BOT WORKING
# FILL THESE VALUES ACCORDINGLY.
from HellConfig.config import Config
class Development(Config):
# get these values from my.telegram.org.
APP_ID = 666666 # 666666 is a placeholder. Fill your 6 digit api id
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e" # replace this with your api hash
BOT_TOKEN = "Your value" # Create a bot from @BotFather and paste the token here
BOT_LIBRARY = "telethon" # fill 'pyrogram' if you want pyrogram version of hellbot else leave it as it is.
DATABASE_URL = "Your value" # A postgresql database url from elephantsql
HELLBOT_SESSION = "Your value" # telethon or pyrogram string according to BOT_LIBRARY
HANDLER = "." # Custom Command Handler
SUDO_HANDLER = "!" # Custom Command Handler for sudo users.
# end of required config
# hellbot