- pip install python-telegram-bot
- Register a Telegram bot & get the token by following the instructions here: https://core.telegram.org/bots#6-botfather
- Keep the token a secret!
- Download bot.py & modify the source code accordingly. If you want to add more handlers, check out https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-Your-first-Bot
- Sticker ID can be obtained from @idstickerbot on Telegram
- Documentation for python-telegram-bot: https://python-telegram-bot.readthedocs.io/en/stable/
- Run the python file to run your bot. If you want to host the bot, consider hosting on Heroku for free. Check out: https://towardsdatascience.com/how-to-deploy-a-telegram-bot-using-heroku-for-free-9436f89575d2 for more details.
-
Notifications
You must be signed in to change notification settings - Fork 1
namelessrock/valentine_bot
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published