Guides
Guides for people who build bots.
The questions that come up between "my bot works on my computer" and "my bot runs all the time", answered properly, with code.
Keep a bot online 24/7
Why bots go offline, how to stop them crashing, and where to run one around the clock.
Read the guide →
Move off Replit or Glitch
Get your bot out, replace the platform-only parts, and run it somewhere that stays on.
Read the guide →
Tokens in environment variables
Move your token out of your source into an environment variable, and what to do if it ever leaks.
Read the guide →
Reduce discord.js memory
Measure it, then trim intents and caches, and find leaks, before the bot runs out of memory.
Read the guide →
Telegram webhooks vs polling
How each way of receiving updates works, what webhooks require, and which one to use.
Read the guide →
What these are
Each guide takes one problem bot developers run into and works through it from the start: why it happens, what the options are, and exactly what to change. They are written for Node.js and Python, the two runtimes most bots are built on, with Bun alongside Node where it differs.
For a single error message rather than a whole topic, the error reference is quicker: paste the error in and it finds the page.