Skip to content

cyberboysumanjay/Telegram-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Chat Bot

This is a simple telegram chat bot. It is based on python-telegram-bot and chatterbot.

--

Tested on Linux 64bit with Python 3.5

--

Setup

I'm assuming you have Python 3 installed and running on your PC.

1- Get you Bot Access token by creating a new bot on BotFather. 2- Add the bot token in chat_bot.py (Search for the commented line) 3- Install the required libraries using these commands:

On Linux

sudo -H pip3 install -r requirements.txt

On Windows

pip3 install -r requirements.txt

If you like my work you can donate. Join my Telegram Channel for more updates on my works.

Fire up the script

To run the script type

python3 chat_bot.py

Now have a cup of coffee and wait for the training of the bot to finish. When training is finished, start the bot

Happy Chatting!

--

Any suggestion is welcomed :)

More about Sumanjay