Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 605 Bytes

File metadata and controls

22 lines (17 loc) · 605 Bytes

Telegram-Fast-Food-Order-Bot-Demo

A Telegram bot written in Python3 that can be fully customized to your needs.

Usage

Create a settings.py file on the root directory with the content:

token="XXXXXXX"  #telegram bot api token
pickle_logs = "example.log"
timeout = 900

# mongo config
mongo_host = 'localhost'
mongo_user = 'tgbot'
mongo_password = '12345678'
mongo_port = '27017'
mongo_collection = 'tgbot'

admin_list = [] # A list of user IDs that have access to @restricted functions
CHATID = "anything"  # A chat group ID assigned for bot administration and back-office management