|alimiracle cba0ebac26 fix types||1 year ago|
|Gemfile||1 year ago|
|README.md||1 year ago|
|name||1 year ago|
|switch_discounts.rb||1 year ago|
a telegram bot to Send a notification when a new discount occurs in Nintendo store
I wrote this code for personal use.
But I decided to publish it . you might benefit from it.
I love video games, especially Nintendo Switch games.
When I have time, I open the store and browse the new discounts.
At last I decided to write this bot to Watch the store instead of me.
The bot is written using Ruby
so it needs Ruby
to install the bot
Open your os terminal then clone the bot code useing git
git clone https://notabug.org/alimiracle/switch_discounts
cd switch_discounts bundle install
to use this bot
You need bot token and chat_id
and you must create bot useing BotFather
the bot take the bot token and chat_id as Environment variables
for example in my gnu linux system
export BOT_TOKEN="your BOT_TOKEN" export CHAT_ID="your CHAT_ID"
to run this bot Open your os terminal then type
If you want to run the bot in the background
So you need help.
People can help you, but first help them help you, and don't waste their time.
Provide a complete description of the issue.
If it works on A but not on B and others have to ask you: "so what is different between A and B" you are wasting everyone's time.
"hello", "please" and "thanks" are not swear words.