Node.js, Python or Java: picking and changing the runtime

Which server type runs what, how to change the Node/Python version, and how to run a Java bot.

1 min readDiese Anleitung auf Deutsch lesen

On this page 4
  1. Node.js
  2. Python
  3. Java
  4. Other languages

Node.js

The Node.js server type runs your bot with node. The Node version is chosen under Startup → Runtime (Node 18, 20, 22 ... whichever your libraries need; discord.js v14 wants Node 18+). Change the runtime, restart.

Python

The Python server type runs python <PY_FILE>. Choose the Python version the same way under Runtime. Packages are installed into a local prefix on every start, so a new runtime starts from a clean slate, and requirements.txt makes that painless.

Java

Order a Node.js or Python server and open a ticket: we switch it to a Java image and set the start command to your jar (java -jar bot.jar). JDA and Javacord bots run fine this way.

Other languages

Anything that runs on Linux can run here (Go, Rust binaries, Deno, Bun), and it works the same way as Java: ask us to set the start command. Tell us what the command would be on your PC.

Still stuck?

Kowalski, the assistant in your dashboard, reads your server's log and fixes most things on request. For everything else there is the ticket system.