It's a telegram bot with various features(currently one).
/start - to start the bot
/help - to see available options
/g - to search a keyword
Uses Duckduckgo's instant answer api.
/g keyword
to search keywords.
-
Clone the repository
git clone https://github.com/ashirbadsahu/telebased.git
-
Go to Telegram and search
BotFather
-
/newbot
and make a newbot. -
Obtain the API TOKEN
-
make a .env file
BOT_TOKEN="YOUR_API_TOKEN"
Replace
YOUR_API_TOKEN
with the token you got. -
Install these libraries
pip install python-dotenv pip install pyTelegramBotAPI
-
Now run it the bot
python bot.py
Thanks for reading 🙏