Skip to content
EndercloudKnowledge Base
GuideBot Hosting

Change your bot's language or version

Switch your bot from one language to another with Settings → Change Egg, and change the Node.js, Python or Java version with the Docker Image list in Startup.

Updated 2 min read
Difficulty:
Beginner
Time:
5 minutes
On this page

You can change your bot's language at any time from Settings → Change Egg in the Game Panel, and change the version of that language (for example Node.js 20 to 22, or Python 3.10 to 3.12) from the Docker Image list in Startup. No ticket is needed.

Change the version (same language)

Use this when your bot needs a newer or older Node.js, Python, Java or other runtime.

  1. Open your bot in the Game Panel and click Stop.

  2. Go to Startup.

  3. Find the Docker Image list and pick the version you need. On a NodeJS bot it goes from Nodejs 12 to Nodejs 25; other languages show their own list.

  4. Click Start and check the Console. Your files are not changed.

Check what your library needs. For example, discord.js v14 needs Node.js 18 or newer, and discord.py needs Python 3.8 or newer. When unsure, pick a recent, stable version.

Change the language (Change Egg)

Each bot language is set up by an "egg", a template that decides how the server installs and starts your code. Changing the egg switches, for example, from Python to NodeJS. The options match the Bot Language list at checkout: NodeJS, Python, DiscordJS, C#, Go, Java, Rust, Nodemon, Bun, Luvit (Lua), Deno, Dart and Elixir.

  1. Make a backup first in Backups, and download it if your code is important. See How to create and restore backups.

  2. Stop the bot.

  3. Go to Settings and find Change Egg.

  4. Choose the new language from the dropdown.

  5. Decide whether to reinstall. Reinstalling lets the new language install what it needs. If a wipe option is shown, only use it when you want to delete all files and start fresh.

  6. Click Apply and wait for the install to finish. It can take up to a couple of minutes.

  7. Open Startup and set the new main file and version, then upload your new code and click Start.

A reinstall can delete or change files, and a wipe removes everything. Always back up before changing the egg.

After switching

  • To Node.js: upload package.json and your code, without node_modules, or set Git Repo Address in Startup to deploy from GitHub. Set Main file (default index.js). See How to host a Node.js Discord bot.

  • To Python: upload your .py files and requirements.txt. See How to host a Python Discord bot.

  • Remove files from the old language you don't need any more, such as an old node_modules folder, to save disk space.

Frequently asked questions

I chose the wrong language at checkout. Do I need a new order?

No. Use Settings → Change Egg to switch. If anything goes wrong, open a ticket and our team can change it for you.

What is the difference between NodeJS and DiscordJS?

Both run Node.js code. NodeJS is the general option and works for discord.js bots too; we recommend it unless you have a reason to pick another.

The version I need isn't in the Docker Image list

Open a ticket with the language and version you need, and our team will tell you what's possible.

Host your botInstant setup · 24/7 support · DDoS protection

Was this article helpful?

Related articles

Join Our Discord

Connect with our community of gamers and developers

Get instant support, share experiences, and stay updated with the latest news

Join Discord