Host a Discord or Telegram bot, 24/7
Bots are the classic “works on my laptop until I close it” project. To run 24/7 they need a machine that stays on, restarts the bot if it crashes, and keeps the token out of the code.
Discord bots need always-on
A normal Discord bot keeps one connection open to Discord and waits for events. Nobody visits it, so on a host that puts idle servers to sleep it would go offline after a while — and nothing would wake it up. On The Vibe Hosting that means marking the server always-on, which comes with a verified phone.
A small bot using about 128 MB of RAM costs roughly $0.45 a month to run 24/7 — covered by the $2.25 monthly free credit of a verified account.
Deploy it
The agent creates the server, helps you verify your phone, installs the dependencies, stores the token in an env file and starts the bot under supervision — if it crashes, it's restarted automatically.
Telegram: webhook or polling
- Webhook — Telegram sends each update to your HTTPS URL. Incoming requests wake a sleeping server, and Telegram retries delivery if the first attempt arrives while it's starting, so a webhook bot works even without always-on.
- Long polling — the bot keeps asking Telegram for updates. That's a continuously running process, so it needs always-on, like a Discord bot.
Keep the token safe
- Never commit it to Git or paste it into code. If it has been, regenerate it in the Discord developer portal or with BotFather.
- Give the bot only the permissions it needs.
Updating the bot
Change the code locally and ask your agent to deploy again; it restarts the bot on the same server.
Try it: paste this to Claude Code, Cursor or Codex.