Skip to content

Commit

Permalink
Update earthquake_bot README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baderouaich authored Sep 30, 2023
1 parent 4e6aa87 commit a9f2dfb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/earthquake_bot/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
## earthquake_bot
This example shows how to program a Telegram Bot that will alert you if there is a recent earthquake somewhere in the world.

### How to create a new Bot and obtain its private token ?
1. Open the Telegram mobile app and search BotFather
2. Send BotFather a command /newbot
3. Follow instructions to create a new Bot
4. After you finish the instructions, you will receive a Bot Token, make sure you keep it secured.

## Commands
![Commands](commands.jpg)
<img src="commands.jpg" alt="Commands" width="300"/>

## Alerts
![Alerts](alerts.jpg)
<img src="alerts.jpg" alt="Alerts" width="300"/>

0 comments on commit a9f2dfb

Please sign in to comment.