Help Center
Which bot runtime should I pick?
Node.js, Python, Java, Go, Rust, Bun, Deno, PHP, .NET or Ruby, and how to choose.
Quick steps
- Use the language your bot is already written in. Hartwell Bot Cloud supports Node.js, Python, Java, Go, Rust, Bun, Deno, PHP, .NET and Ruby.
- Starting fresh? Node.js (discord.js) and Python (discord.py) have the largest communities and the most examples.
- Pick a version your libraries support. If you are unsure, use the default version shown when you create the bot.
- Each runtime has its own startup file, for example index.js for Node.js and main.py for Python. The bot page shows the example.
- Compiled languages such as Go, Rust and .NET need you to upload the built program, or the code and a build step, depending on the runtime page.
- You can run bots in different languages inside the same pool.
Supported runtimes and example start files
- Node.js: index.js
- Python: main.py
- Java: bot.jar
- Go: main.go
- Rust: bot
- Bun: index.ts
- Deno: main.ts
- PHP: bot.php
- .NET: Bot.dll
- Ruby: bot.rb
Memory use differs
Java and .NET bots usually need more memory than Node.js or Python bots of the same size. Go and Rust bots tend to need the least. Keep this in mind when dividing your pool.
Never share your password, a bot token, a private key or card details with anyone, including Hartwell staff.
Related articles
- Deploy your first bot From an empty pool to a running bot.
- Get your bot ready before you upload The five checks that prevent most deployment problems.
- My Bot Cloud pool is full What to do when you cannot deploy another bot.
Still stuck? Open a support request from your dashboard, or use /support in the Hartwell Discord server.