Change the version / bot type
Want to upgrade to a newer version of Node.js, switch to Python, or simply change your Discord bot's runtime environment? It's very easy on YorkHost: just change the Docker image in your server settings.
Steps
- Log in to the YorkHost Panel
- Select your Discord Bot server
- Go to the Servers Option tab (Server settings)
- In the Image field, select the image matching your desired version
- Click Save
- Reinstall your server to apply the change
warning
Reinstalling deletes files on the server. If you use a Git repository, your files will be re-cloned automatically. If you work with manual uploads, back up your files before reinstalling.
Available images
Here are the currently available images:
| Image | Language | Version |
|---|---|---|
| Node.js 24 | JavaScript / TypeScript | Node.js 24 (latest) |
| Node.js 22 | JavaScript / TypeScript | Node.js 22 (LTS) |
| Node.js 20 | JavaScript / TypeScript | Node.js 20 |
| Node.js 18 | JavaScript / TypeScript | Node.js 18 |
| Python 3 | Python | Python 3.x |
info
This list is non-exhaustive and may change over time. New versions are added regularly. If you need a specific version, contact our support team.
Which version should you choose?
Node.js
- Node.js 22 — Recommended for most projects. It's the current LTS (Long Term Support) version, stable and compatible with discord.js v14+.
- Node.js 24 — For users wanting the latest JavaScript features. Prefer this if your dependencies support it.
- Node.js 20 — A good alternative if you have dependencies requiring a slightly older version.
- Node.js 18 — Minimum version for discord.js v15. Only use this if your code requires it.
Python
- Python 3 — Compatible with discord.py, nextcord, pycord, and most Python Discord libraries.
discord.js compatibility
Make sure your version of discord.js is compatible with your chosen image:
| discord.js | Minimum Node.js |
|---|---|
| v14 | Node.js 16.11+ |
| v15 | Node.js 18+ |
Need help?
If you encounter any issues after changing versions, contact our support:
- Tickets: from your client area
- Discord: join our server for community help