Telegram Bot that dose everything!
- easy to add abilities
- highly customizable command framework
- fully multithreaded
Python2 and Python3
python-telegram-bot
praw
wikipedia
requests
futures
In conf/configuration.py fill your telegram token.
Import and add the desired abilities to the abilities set
set your telegram bot to "privacy false" with BotFather (/setprivacy false)
clone the project, create virtualenv and install dependencies
pip install -r requirements.txt
run the bot
python main.py
The bot will only answer when addressed with one of the words that are contained in BOT_ADDRESS_SET for example:
yo j
after the bot address, a command should follow:
yo j wiki robots
the commands are registered throw each ability, see abilities dir for examples.
if the command is found JBot will run the method with which the command is registered to.
- isolate the replies per message id
- simplify command decorator
- improve command framework
- create full bot framework
- add tests
MIT