Sign inSign up

mateocallec/savage-bot

By mateocallec

•Updated about 1 year ago

A fun Discord bot that automatically replies with savage messages.

Image
0

758

mateocallec/savage-bot repository overview

⁠Savage Bot: mateocallec/savage-bot

Savage Bot is a French Discord bot that automatically replies to messages for fun interactions in your server.


⁠Overview


⁠Features

  • Automatic replies every THRESHOLD messages (configured via .env).
  • Slash command /trashtalk @username for playful interactions.
  • Reads message templates from messages.json.
  • Configurable bot status via .env (ACTIVITY).
  • Fully containerized for Docker usage.
  • Automatic restart via Docker Compose in case of crashes.
  • Easy setup with provided scripts (build.sh, start.sh, stop.sh).

⁠Environment Variables

The bot is configured via environment variables:

VariableDescriptionExample
TOKENYour Discord bot tokenTOKEN=YOUR_BOT_TOKEN_HERE
THRESHOLDNumber of messages before the bot replies automaticallyTHRESHOLD=5
ACTIVITYBot presence statusACTIVITY=Watching the chat 👀

These can be set in a .env file or in your container environment.


⁠Usage

⁠Run with Docker

Pull the latest image from Docker Hub:

docker pull mateocallec/savage-bot:latest

Run the bot:

docker run -d \
  --name savage-bot \
  --env TOKEN=YOUR_BOT_TOKEN_HERE \
  --env THRESHOLD=5 \
  --env ACTIVITY="Watching the chat 👀" \
  mateocallec/savage-bot:latest
⁠Run with Docker Compose
  1. Make sure your docker-compose.yml points to mateocallec/savage-bot:latest.
  2. Start the bot:
docker-compose up -d
  1. Stop the bot:
docker-compose down

The bot will automatically restart if it crashes, thanks to Docker Compose’s restart policy.


⁠Tags

  • latest – most recent stable release.
  • v1.0.0, v1.1.0 – versioned tags matching CHANGELOG.md⁠.

⁠Volumes & Mounts

  • Optional: Mount a local messages.json to override default messages:
volumes:
  - ./messages.json:/app/messages.json:ro

⁠License


⁠Contact

Tag summary

Content type

Image

Digest

sha256:49695e3a4…

Size

65.9 MB

Last updated

about 1 year ago

docker pull mateocallec/savage-bot