Windows / macOS:

Once you have the latest release downloaded you need to extract PhantomBot.

Windows: Right click the zip file, select extract all.

MacOS: Double click the zip file.

Find your current PhantomBot installation, the one you’re updating from.

For standard installations:

Copy over your config folder. Do not just copy individual files, all files are important and required.

If you do not have a config folder, this means that you’re upgrading from an older version than v2.3.9, which then you need to copy over your botlogin.txt, phantombot.db, and phantombot.db-journal to the bot’s config folder.

Copy over your custom language folder from the old bot folder. (bot-folder/scripts/lang/custom)

If you have custom scripts:

Copy only your modified/custom files over to the new PhantomBot folder.

Launch your new PhantomBot. Keep your old PhantomBot folder as a backup for the future.

Do not copy your database or botlogin into the config folder, the bot will do this for you.cp ./phantombot-old/phantombot.db ./phantombot/(v2.3.8 or older)cp ./phantombot-old/botlogin.txt ./phantombot/(v2.3.8 or older)

The last thing we need to do is to assign the right privileges to make the launch.sh and launch-service.sh files executable.

cd phantombotchmod u+x launch-service.sh launch.sh

Now we are ready to launch PhantomBot again. You can run the bot with: