Skip to content

Upgrading Legacy Installations

dom edited this page Oct 21, 2025 · 3 revisions

⬆️ Upgrading Legacy Installations

Upgrading from the old Relo or Patch Versions such as "V4" or "V1.0.5", which came before our v1.0.0:

  1. 🛑 Stop the Bot: Ensure your Discord bot's main.py script is not currently running.

  2. 🗑️ Uninstall old OCR Packages:

    • Run this command in your terminal: pip uninstall -y easyocr torch torchvision torchaudio opencv-python
    • If the packages are not found installed, don't worry and proceed to the next step.
  3. ⬇️ Download New main.py File:

  4. 🔄 Replace/Add Files:

    • Go to your bot's main directory.
    • Replace the existing main.py with the downloaded main.py.
  5. ▶️ Restart the Bot:

    • Open a terminal or command prompt in your bot's main directory.
    • Run the bot's startup command as you normally would (e.g., python main.py).
  6. 🔄 Update the Bot:

    • An update prompt to the current version on this repository will show up when starting the bot.
    • Enter y when prompted to update in order to get the new patch.
    • Observe the console output. This step might take a few minutes, depending on your internet connection.
    • If the automatic installation completed successfully, the bot should restart on the new version.
    • If you are running the bot on Windows, you may need to manually restart it with the provided command.

Clone this wiki locally