1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-09-13 00:55:08 +00:00

add donations to bot

This commit is contained in:
2021-01-31 16:00:58 -07:00
parent 11d64ab413
commit 71db661d72
2 changed files with 56 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ Keep up with the latest news for the bot in its Telegram Channel: https://t.me/s
Full documentation on using and running your own stock bot can be found [here.](https://simple-stock-bots.gitlab.io/site)
**Commands**
- /donate [amount in USD] to donate. 💵
- /dividend $[symbol] will return dividend information for the symbol. 📅
- /intra $[symbol] Plot of the stocks movement since the last market open. 📈
- /chart $[symbol] Plot of the stocks movement for the past 1 month. 📊
@@ -51,6 +52,18 @@ The bot also looks at every message in any chat it is in for stock symbols. Symb
Market data is provided by [IEX Cloud](https://iexcloud.io)
"""
donate_text = """
Simple Stock Bot is run entirely on donations[.](https://www.buymeacoffee.com/Anson) All donations go directly towards paying for servers, and market data is provided by [IEX Cloud](https://iexcloud.io/).
The easiest way to donate is to run the `/donate [amount in USD]` command with US dollars you would like to donate.
Example: `/donate 2` would donate 2 USD.
An alternative way to donate is through https://www.buymeacoffee.com/Anson, which accepts Paypal or Credit card.
If you have any questions get in touch: @MisterBiggs or [anson@ansonbiggs.com](http://mailto:anson@ansonbiggs.com/)
"""
def __init__(self, IEX_TOKEN: str):
self.IEX_TOKEN = IEX_TOKEN
if IEX_TOKEN != "":