-
Notifications
You must be signed in to change notification settings - Fork 6
Config tutorial
The config file is named config.py
. Edit it by:
nano config.lua
Config has a small description of each value, But here will be more info about each value.
Values:
False, True, None, INT(123456789), String(a-zA-Z0-9 etc.)
Bot's token (from botfather): TOKEN = '116144035:AAHVDjt5VX-5bKGGrbtw6QJPEZF4reJcIjc'
For debugging in console: DEEP_LOGGING = False
Do you want the bot to echo in super groups?: SAFE_ECHO = False
ID of the bots SUDO (The Owner, Headadmin, etc.): SUDO_ID = 98120772
ID f bots admins (for example, admins have permission to add bots to groups): ADMINS_IDS = (98120772, 0)
ID of the main support group (For feedbacks & contacts, etc.): SUPPORT_GP = 1001089563920
(Without the minus)
Do you want the bot answer to pre-defined texts? REPLIER = True
Do you want greeting messages be enabled? (in groups) GP_GREETING = True
Do you want farewell messages be enabled? (in groups) GP_FAREWELL = True
List of pre-defined messages to reply
reply_message_list = {"salam": "slm",
"hi": "aleyke hi",
"hello": "dorood",
}