Discover our Python-powered Telegram bot developed during a hackathon. This repository offers a concise yet powerful solution for automating tasks and enhancing communication on Telegram.
Disaster Management
This is a Telegram bot developed using the telebot
library in Python. The bot provides information and steps to follow during various types of crises such as earthquakes, floods, tsunamis, and wildfires. It aims to help users understand how to stay safe and prepared in emergency situations.
To use the Crisis Ready Telegram Bot, you need to follow these steps:
-
Clone the repository:
-
Install the required dependencies. Make sure you have Python and pip installed on your system. Run the following command in your terminal or command prompt:
-
Obtain a Telegram Bot API token. Follow the official Telegram Bot Documentation to create a new bot and obtain the API token.
-
Open the
bot.py
file and replace the placeholderAPI_KEY
variable with your actual Telegram Bot API token. -
Run the bot by executing the
bot.py
file:
Once the bot is up and running, you can interact with it in a Telegram chat. Here are some commands supported by the bot:
/start
or/new_user
- Start the bot and get a welcome message./help
- Get a list of available commands./info
- Get information about the bot./status
- Check if the bot is running./types
- List the types of crises supported by the bot.- Respond with the respective number (1, 2, 3, 4) to get information and steps to follow for earthquakes, floods, tsunamis, and wildfires.
Contributions are welcome! If you have any ideas, suggestions, or bug fixes, please feel free to open an issue or submit a pull request. Make sure to follow the existing code style and provide clear descriptions of your changes.
This project is licensed under the MIT License.