---
title: "Deploy Honeypot - The Discord Bot"
description: "An anti-spam discord bot that helps you deal with server spammers!"
category: "Bots"
url: https://railway.com/deploy/honeypot-the-discord-bot
---

# Deploy Honeypot - The Discord Bot

An anti-spam discord bot that helps you deal with server spammers!

**[Deploy Honeypot - The Discord Bot on Railway](https://railway.com/template/honeypot-the-discord-bot)**

- **Creator:** MaskdDev
- **Category:** Bots
- **Total deploys:** 1

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### honeypot

- **Source:** MaskdDev/honeypot

## Documentation

# Deploy and Host Honeypot - The Discord Bot on Railway

Honeypot is a spam prevention bot for discord, primarily aimed at preventing the "flood all channels" style of spammer that we've seen a surge in recently.

The bot allows you to create "Honeypot" channels, which can be configured to take action when someone sends a message in them. This prevents the all-too-common hassle of needing a server moderator to deal with the spammers themselves, and prevents them doing as much damage to your community.

## About Hosting Honeypot - The Discord Bot

Hosting Honeypot is as simple as entering the discord token of the bot you'd like to run your instance on! All other configuration can be done inside the app. There is no limit on the number of servers you can add your honeypot to.

You can view the full guide to using the bot on our website, at https://honeypotbot.com/guide.

## Common Use Cases

- Hosting your own moderation bot without relying on other providers.
- Preventing spammers from flooding the channels of your discord server.

## Dependencies for Honeypot - The Discord Bot Hosting

- A discord token for a discord application, configured with the ban members, kick members, moderate members, manage roles, manage messages and read message history permissions.

### Deployment Dependencies

- PostgreSQL used for the database.
- Redis used for quick lookup times whenever a new message is sent in any channel the bot can see.

## Why Deploy Honeypot - The Discord Bot on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Aug ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with real-time WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/honeypot-the-discord-bot
