From 84b24305b6dfd15e5c1df9dcad45d78f39c57b97 Mon Sep 17 00:00:00 2001 From: Gourav Kumar Date: Sun, 9 Jan 2022 03:28:24 +0000 Subject: [PATCH] Added a readme --- readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..60f3344 --- /dev/null +++ b/readme.md @@ -0,0 +1,20 @@ +# Telegram WordBot + +This bot helps you learn new words for your GRE/GMAT preparations. All you have to do is start a chat with the [@random_gre_word_bot](https://t.me/random_gre_word_bot) and send `/word`. WordBot will respond with a randomly selected word, its grammatical type, and its definition. You'll also have the option of fetching the pronunciation and synonyms if you wish. + +### To run the bot on your own server +1. Open Telegram and create a bot using [@BotFather](https://t.me/BotFather) +2. Get the bots token +3. Clone this repository +4. Rename .env.sample to .env +5. Add all the values in the .env file including the bot token +6. Install all the addons from requirements.txt +7. Start the bot with the command `python word_bot.py` + +Have fun learning random words! + +### To-do +1. complete synonyms functionality +2. Add the ability to fetch specific words +3. Get a complete list of words (current list is less common words only) +4. Linkify synonyms