Skip to content

💌 discord bot for sending anonymous messages to a channel

Notifications You must be signed in to change notification settings

okkdev/kummerbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kummerbot

Discord Bot that pipes direct messages to a channel in a server.

This enables submission of anonymous messages to that channel.

Prerequisites

You need to have a Postgres database running.

Setup Docker

  1. Get the container docker pull okkdev/kummerbot
  2. Run the container. Example: docker run -e KUMMER_BOT_TOKEN=your_bot_token -e KUMMER_CHANNEL=your_kummer_channel -e KUMMER_DATABASE_URL=your_postgres_db_url -d okkdev/kummerbot

Environment variables

KUMMER_BOT_TOKEN - Discord bot token

KUMMER_CHANNEL - ID of the channel where the messages are sent

KUMMER_DATABASE_URL - URL to the Postgres database (default: ecto://postgres:postgres@localhost/kummerbot_repo)

(optional) KUMMER_PREFIX - prefix for the bot commands (default: .)

Development

  1. Clone repo
  2. Set env vars
  3. Get dependencies mix deps.get
  4. Create database mix ecto.create
  5. Run migrations mix ecto.migrate
  6. Run the bot mix run --no-halt

About

💌 discord bot for sending anonymous messages to a channel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published