1.6 KiB
1.6 KiB
i dont like this project tbh :\
Telegram shop bot template
Customizable telegram shop bot
Installing
Clone the project to your local machine.
$ git clone https://github.com/anekobtw/telegram-shop-bot-template.git
Setting up
Do not modify any files except config.py. Doing so may result in numerous bugs :)
- Replace
BOT_TOKENwith your Telegram bot token (Obtain it from BotFather).
BOT_TOKEN = '' #replace with your token
- Change the currency you're using for selling items. (optional)
currency = '$'
- Furthermore, add the products you're selling into the dictionary using the following format:
'product name' - price
items = {
'Item1': 100,
'Item2': 200,
'Item3': 500
}
Remember to restart the bot to apply the changes.
Acknowledgements
- aiogram - A modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Contributing
Contributions are always welcome! If you have any suggestions, feature requests, or bug reports, please feel free to open an issue on the GitHub repository.