What fits on the free plan?
Bothosting’s Spark plan can run one small Discord bot while your PC is off. Spark costs $0, requires no payment card and includes 256 MB of memory, 25% CPU and 512 MB of storage. Renew the plan manually from your dashboard every 7 days. A slash-command bot with a short dependency list is a good first project.
Measure the whole project against those limits. A handful of JavaScript source files may be tiny, but installed packages, downloaded attachments and local data all take space. A Java bot using JDA needs at least 512 MB of allocated memory on Bothosting. You can check the eligible runtimes on the Discord hosting page.
Try it with one command
- Download the discord.js example and put its project files at the deployment root. Keep
package.jsonbesideindex.js. - Save the application’s bot token in
BOT_TOKENunder Variables. Install that same application in a test Discord server. - Start the hosted deployment. In your test server, select this application’s
/pingcommand and send it. The downloadable example repliespong.
Verify the host is answering
If you already run the bot on your laptop, stop that process before testing. Change the example’s reply text to something recognizable, upload the edit, restart the hosted bot and run the command again. Once the new reply appears, close your laptop and repeat the check from another device.
For an existing bot, also try a command that reads saved data and watch memory during startup. Spark can deploy from a public or private GitHub repository and post crash alerts in Discord. Review the free plan limits and renewal terms before inviting more servers.