🧋To access the bot click here. |
---|
Thanks for the support!. |
-
Earthquake Data Display:
- The
/start
command shows a main menu with options to view earthquake data. - Options include displaying all recorded earthquakes, the latest earthquake, and the most intense earthquake recorded.
- The
-
Callback Handling:
- KD-QUAKE manages inline button callbacks to display the geographical location of earthquakes.
- The location is shown on the map directly in the chat.
-
Earthquake Data Parsing:
- Utilizes the BeautifulSoup library to extract data such as date, location, magnitude, depth, and geographic coordinates from INGV's HTML data.
-
User Interaction:
- Provides a welcome message with a link to the "KDTOOLS" channel for support.
- Uses inline keyboards to allow users to select their desired options.
-
Menu State Logic:
- Maintains a menu state for each user, allowing them to resume interactions where they left off.
To use KD-QUAKE, follow these steps:
- Start the bot by sending the
/start
command. - Choose from the available options in the main menu to explore earthquake data.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.