Skip to content

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.

Notifications You must be signed in to change notification settings

Gaurav7506/telegrambot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Telegrambot

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.

Topic of hackathon

Disaster Management

Crisis Ready Telegram Bot

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.

Getting Started

To use the Crisis Ready Telegram Bot, you need to follow these steps:

  1. Clone the repository:

  2. 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:

  3. Obtain a Telegram Bot API token. Follow the official Telegram Bot Documentation to create a new bot and obtain the API token.

  4. Open the bot.py file and replace the placeholder API_KEY variable with your actual Telegram Bot API token.

  5. Run the bot by executing the bot.py file:

Usage

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.

Contributing

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.

License

This project is licensed under the MIT License.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages