No description
| src | ||
| .dockerignore | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
lbtrd-bot
A Discord bot that watches messages and warns in-channel when user 541298246971162636 posts a link.
Setup
- Install dependencies:
npm install - Copy
.env.exampleto.envand setDISCORD_TOKEN. - Invite the bot with the
Message Content Intentenabled in the Discord Developer Portal. - 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.