No description
Find a file
2026-06-04 16:07:00 +02:00
src Fix 2026-06-04 16:07:00 +02:00
.dockerignore Init 2026-06-04 15:58:20 +02:00
.gitignore Init 2026-06-04 15:58:20 +02:00
docker-compose.yml Init 2026-06-04 15:58:20 +02:00
Dockerfile Init 2026-06-04 15:58:20 +02:00
package-lock.json Init 2026-06-04 15:58:20 +02:00
package.json Init 2026-06-04 15:58:20 +02:00
README.md Init 2026-06-04 15:58:20 +02:00

lbtrd-bot

A Discord bot that watches messages and warns in-channel when user 541298246971162636 posts a link.

Setup

  1. Install dependencies:
    npm install
    
  2. Copy .env.example to .env and set DISCORD_TOKEN.
  3. Invite the bot with the Message Content Intent enabled in the Discord Developer Portal.
  4. Start the bot:
    npm start
    

Docker

Start the bot in a container with:

docker compose up --build

The Compose setup reads DISCORD_TOKEN from .env.

Behavior

  • Listens to all message events the bot can see.
  • Ignores messages from bots.
  • Checks only messages from user 541298246971162636.
  • Sends a warning message in the same channel when a link is detected.