-
Notifications
You must be signed in to change notification settings - Fork 80
Upgrading Legacy Installations
dom edited this page Oct 21, 2025
·
3 revisions
Upgrading from the old Relo or Patch Versions such as "V4" or "V1.0.5", which came before our v1.0.0:
-
🛑 Stop the Bot: Ensure your Discord bot's
main.pyscript is not currently running. -
🗑️ 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.
- Run this command in your terminal:
-
⬇️ Download New main.py File:
- Download the updated
main.pyfile from this repository. - You can find the link here: Download the patched main.py
- Download the updated
-
🔄 Replace/Add Files:
- Go to your bot's main directory.
- Replace the existing
main.pywith the downloadedmain.py.
-
▶️ 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).
-
🔄 Update the Bot:
- An update prompt to the current version on this repository will show up when starting the bot.
- Enter
ywhen 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.