How To Externally Host a Replit Discord Bot

Replit is for coding and testing your Discord bot. Cybrancee hosts it 24/7. Use Replit to develop, then upload to Cybrancee to run your bot continuously.


1. Code and Prepare Your Bot on Replit

Create a project in Node.js or Python and test it. Keep your bot token safe using environment variables. Make sure all dependencies are listed (package.json for Node.js, requirements.txt for Python).

  • Test your bot by selecting the “Run” button.
  • Use environment variables for tokens.
  • Verify dependencies and main file.

2. Download and Upload to Cybrancee


2.1 Download from Replit

Download your bot from Replit as a ZIP.

  1. Open your Replit Project.
  2. Select the three dots button.

A replit project, three-dot button is highlighted

3. Select the ‘Download as zip’ button

A replit project, "Download as zip" button is highlighted

2.2 Upload to Cybrancee

  1. Login to your Panel.
  2. Select your Discord Bot server.
Pterodactyl select Discord server screen
  1. Upload your ZIP file to the Panel by selecting the ‘Files’ tab, then select the ‘Upload’ button and select your file.
Upload File button is highlighted on the Files page of the Panel.
  1. Unzip your file by selecting the ZIP file, clicking the three-dot button, and then choosing the ‘Unarchive’ button.

Cybrancee Panel - Unarchive file button is highlighted

5. Add the packages listed in the package.json file to the Panel. Example, all what is listed in the ‘dependencies’ field. (Guide: How to add additional JavaScript modules in Pterodactyl)

Cybrancee Panel, Package.json file, dependencies is highlighted

6. Ensure your startup JS file is the one that runs your bot.

Cybrancee Panel, startup page. BOT JS FILE is highlighted

3. Start your bot

After setting up everything, you can start your bot and test it.

Discord Bot Hosting

Starts at $1.49

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents