ESN Docs

Docs › Discord bots › Bot templates

Host a Discord moderation bot 24/7

3 min readUpdated Nov 3, 2026

Your own moderation bot, with your rules, online all the time. Get our ready-made moderation bot template and run it 24/7 on ESN Hosting.

Get the moderation bot template ($4.99) at listings.esnoffical.com/templates, then host it on ESN from $0.50/month.

What the template does #

  • /warn, /warnings and /clearwarns, with automatic punishments at set warning counts (default: 3 warns = 1 hour timeout, 5 = kick).
  • /timeout, /untimeout, /kick, /ban (also by ID for users who already left) and /unban.
  • /purge up to 100 messages (optionally from one member) and /slowmode for busy channels.
  • Every action is logged as a numbered case in your mod-log channel, and members get a DM explaining it.
  • Auto-mod: blocked words, Discord invite filter (with an allow list) and mention-spam protection. Staff are exempt.

Set it up in 3 steps #

  1. Get the template. Buy the Moderation bot template ($4.99) at listings.esnoffical.com/templates. You can download the zip right away, and the link is emailed to you too.
  2. Get a bot plan. Pick a Discord bot plan on the plans page. Bot hosting starts at $0.50/month and your server is created right after checkout.
  3. Upload and start it. Unzip the template, copy .env.example to .env and paste your bot token (see how to create a bot and get its token). Upload the files in the panel's file manager or over SFTP, set the start file to bot.py and press Start. Setup steps are also in README.md inside the zip.

See bot plans, from $0.50/month →

Which plan? #

Nano (256 MB) is enough for most servers. Pick Micro or Starter for very busy servers. You can move to a bigger plan later. See how much RAM a bot needs.

Change it or bring your own code #

You get the full source code: plain, readable Python you can edit in the file manager or over SFTP. Your token stays in .env on your server only. Already have your own bot? Upload it and start it instead.

More bot templates #

All templates: Discord bot templates.

FAQ #

Do I need coding skills? #

No. Unzip the template, paste your bot token into .env, upload it to your bot server and press Start. The commands show up in your server.

Can I change the blocked words? #

Yes. They are a simple list in config.json, next to the invite allow list and the mention limit.

Who can use the commands? #

Each command needs the matching Discord permission (for example Ban Members for /ban), and the bot checks role order before every action.

Will it stay online 24/7? #

Yes. On ESN Hosting it runs on our servers, not your PC, so auto-mod keeps working while you sleep.

Still stuck? Use the live chat on the panel or ask in the ESN Systems Discord. Last updated November 3, 2026.