/xiaomi_uranus_chatbot

An all-in-one bot that provide useful services for Xiaomi users on Telegram and Discord.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Xiaomi Geeks Chat Bot V2

Crowdin

Open Source Love made-with-python

Xiaomi Geeks Chat Bot (Uranus) is an all-in-one chat bot that provides useful services for Xiaomi users on Telegram and Discord.

You can start using it or adding it to your group here on Telegram, or @XiaomiGeeksBot#1241 on Discord.

About the code:

This project is a modular bot, made using Python 3 and the following libraries:

The whole bot functions in this repo, which are licensed under GPL3, are based on XiaomiFirmwareUpdater other projects and files, including and not limited to:

However, the telegram bot may contain some other features that are not available in this code, like the Admins module.

Bot features:

This chat bot aims to provide easy access for all the stuff that Xiaomi users need, starting from guides and tools, and ending with advanced things like custom recovery and firmware.

  • Get MIUI official updates links.
  • Get Firmware and Vendor packages for custom roms users.
  • Get Custom recovery like TWRP, Orangefox, and PitchBlack.
  • Get Xiaomi.eu ROMs.
  • Various guides and tools.
  • Subscribe to the aforementioned updates to get new releases notifications.
  • Use the bot in your own language, more than 10 languages are supported.

Running this bot on your own:

  • Make sure you have python3.8+ installed.

  • Install the required libs.

    • Using poetry:
    poetry install
    
    • using pip:
    pip3 install .
    
  • Copy the bot config file and rename it to config.yml, then fill the required placeholders.

  • Run Telegram bot using python3 -m telegram_bot

  • Run Discord bot using python3 -m discord_bot