Which languages and libraries can I host?
Our Discord Bot plans are built to run bots written in the three most popular ecosystems, so whatever stack your project uses, there's a good chance it'll feel right at home here. This article covers which runtimes and libraries are supported and how to pick the right one.
Supported languages and libraries
If your bot runs on Node.js, Python, or Java, you can host it with us. In practice that covers the overwhelming majority of Discord bots:
- JavaScript / Node.js — most commonly with discord.js.
- Python — with discord.py and other Discord libraries.
- Java — with JDA (Java Discord API).
You don't need to do anything special to "unlock" a language — you choose the runtime on your server's Settings page and upload the matching project files.
How to pick your runtime
- Open your server in the client area and go to the Settings page.
- Set the startup file and runtime that match your project (for example
index.jsfor a Node.js bot orbot.pyfor a Python bot). - Include the matching dependency file with your code —
package.jsonfor Node.js,requirements.txtfor Python, or your compiled build for Java.
Tip: Not sure which runtime version fits your library? Open a ticket and we'll help you choose the right one for your dependencies.
Frequently asked questions
Can my project be switched to Java? Yes. Upload your Java build and set the Java startup on the Settings page. If you'd like a hand choosing the right runtime, open a ticket and our team will guide you.
Does the library matter, or just the language? As long as your library runs on Node.js, Python, or Java, it works — the host cares about the runtime, and your library rides along with your dependencies.
More in Frequently asked questions
- What do I need to host my bot, and is the panel Pterodactyl-based?
- How do I upload and structure my bot files?
- How do I set which file runs and start the bot?
- How do I install my bot's npm / pip dependencies?
- Will my bot run 24/7?
- Can I host two bots on one plan?