old_01
This commit is contained in:
47
doners/telegram-shop-bot-template/README.md
Normal file
47
doners/telegram-shop-bot-template/README.md
Normal file
@@ -0,0 +1,47 @@
|
||||
i dont like this project tbh :\
|
||||
|
||||
# Telegram shop bot template
|
||||

|
||||

|
||||
[](https://codecov.io/gh/anekobtw/telegram-shop-bot-template)
|
||||

|
||||
|
||||
Customizable telegram shop bot
|
||||
|
||||
## Installing
|
||||
Clone the project to your local machine.
|
||||
```console
|
||||
$ 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_TOKEN` with your Telegram bot token (Obtain it from [BotFather](https://web.telegram.org/k/#@BotFather)).
|
||||
```python
|
||||
BOT_TOKEN = '' #replace with your token
|
||||
```
|
||||
|
||||
- Change the currency you're using for selling items. (optional)
|
||||
```python
|
||||
currency = '$'
|
||||
```
|
||||
|
||||
- Furthermore, add the products you're selling into the dictionary using the following format:\
|
||||
`'product name' - price`
|
||||
|
||||
```python
|
||||
items = {
|
||||
'Item1': 100,
|
||||
'Item2': 200,
|
||||
'Item3': 500
|
||||
}
|
||||
```
|
||||
|
||||
Remember to restart the bot to apply the changes.
|
||||
|
||||
## Acknowledgements
|
||||
- [aiogram](https://github.com/aiogram/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](https://github.com/anekobtw/timewise).
|
||||
Reference in New Issue
Block a user