How to commit?
Update the files of an application that is already on Discloud, without uploading the whole project again.
A commit updates the files of an application that is already hosted on Discloud. Instead of uploading the whole project again, you send only what changed.
🧩 How a commit works
Discloud uses the path of each file inside the .zip to decide where it goes in your project, starting from the project root:
If a file already exists at that path, it is replaced.
If it doesn't, a new file is created.
Files you didn't send stay as they are.

ping.js is sent; the rest of the project doesn't change.📦 Preparing the .zip
Find the file's path.
Check where the file is in your project, starting from the root. For example: src/commands/ping.js.
Recreate the same folders.
Put the file inside the same folders, with the same names and the same extension:
Compress the contents, not the project folder.
Select the folders and files that changed and compress them. If you compress the whole project folder (for example, my-bot/), it becomes part of the path and the files end up in the wrong place.
Check before sending.
Open the .zip: the first thing inside it should be src/, not my-bot/.
⚠️ Common mistakes
Imagine the original file is at src/commands/ping.js:
✅ src/commands/ping.js
The original file is updated.
❌ src/Commands/ping.js
A new Commands/ folder is created next to commands/. The bot keeps using the old file.
❌ my-bot/src/commands/ping.js
A my-bot/ folder is created inside the project, with a copy of the file. The original doesn't change.
❌ ping.js
A ping.js is created at the project root. src/commands/ping.js doesn't change.
🚀 Sending the commit
Go to the #🔌・commands channel on the Discloud Discord Server.
Run the command:
Send your .zip when the bot asks for it.
From the project root, run:
The CLI builds the .zip for you from the current folder, so run the command from the project root. The short form discloud app c also works.
In the VS Code file explorer, select the files and folders that changed.
Right-click and choose Discloud > Commit.
Choose the application that will receive the commit.
See how to install and sign in to the VS Code extension.
With the GitHub Integration, your application is updated from your repository, with no .zip to build.
✅ Before sending, check
The path is the same as in the project, starting from the root.
Folder and file names are identical, with the same uppercase and lowercase letters.
The extension is right (
ping.js, notping.js.txt).The
.zipstarts directly with the project folders, with no project folder around them.
❓ Still need help?
See Troubleshooting Solutions or join our Discord Server for support.
Last updated