LBTRD-discord-bot/README.md
2026-06-04 15:58:20 +02:00

749 B

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.