Skip to content

About

A super-simple Discord bot that detects and deletes spam messages (aka other channels' invites).

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

Elf bot

A super-simple Discord bot that detects and deletes spam messages (aka other channels' invites).

If the user insists, the bot kicks it.

Discord setup

In the developer portal → Bot, enable the Message Content Intent (privileged). The bot needs the Manage Messages and Kick Members permissions in the server.

Try it

Requires Node 22+.

npm install
BOT_TOKEN=... npm run dev

Production

npm run build
BOT_TOKEN=... npm start

Deploy

The image is built by GitHub Actions to ghcr.io/elfgames/elf-discord-bot (amd64 + arm64). Kubernetes manifests live in deploy/kubernetes/base and are applied by Flux from elfgames-cluster. The bot reads BOT_TOKEN from the elf-discord-bot Secret.

About

A super-simple Discord bot that detects and deletes spam messages (aka other channels' invites).

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages