Articles on: Discord Bot Hosting

How to migrate your Discord Bot from repl.it to Sparked Host

Migrating hosting platforms can be a bit of a struggle. Don't worry, were here to help. This guide will show you how to migrate your Discord Bot from repl.it to Sparked Host Bot Hosting.

Downloading / Uploading your Project



Download your repl.it project

First, you need to download your repl.it project. To do this, go to your repl.it project and click the three dots in the top right corner. Then, click "Download as zip". This will download your repl.it project as a .zip file to your computer.



Upload your repl.it project to Apollo

Now, you need to upload your repl.it project to Apollo. To do this, go to the Apollo Panel and click on your bot hosting service. Then, select "Files" on the sidebar, and drag-n-drop your .zip file from repl.it into the File Manager.



Unzip your repl.it project

Now, you need to unzip your repl.it project. To do this, right click your uploaded .zip file and click "Unarchive". This will unzip your repl.it project.



Final Steps



Install your project's dependencies

To install your dependencies, you will need to head over to the Startup tab, and enter each package you wish to use in the Packages field, separated by a space. If your bot uses Node.js, this may be done automatically, as Apollo will detect your package.json file and install the dependencies for you.

Setting up the environment variables

To set up your environment variables, you will need to head over to the Variables tab.



Click on the yellow "Create Variables" button and fill in the variable name and value, like so.



Repeat this process until all the environment variables have been imported.

ENVIRONMENT_VARIABLE_NAME=VALUE


Starting your bot

To start your bot, you will need to head over to the Console, and click "Start". This will start your bot.


If you require any further assistance, please create a ticket here.


Created By: Harry W.

Updated on: 17/07/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!