Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.12 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.12 KB

Discord Bots in java

trying out a monorepo architecture to create discontinued Discord Bots

Planned

  • Markov bot -> markov module
  • Generic Settings for Bots to handle Bot specific settings (db, etc.)
  • Music bot (similar to Rhytmn Bot) -> https://github.com/jagrosh/MusicBot in a Dockerfile
  • help command for all bots
  • Bajbot (Polls, Confessions and whatnot)
  • AI Chatting somewhere
  • cont.

new setup

  • clone repo
  • create .env in root directory with .env file example below
  • setup.sh
  • watch logs with docker logs markov --follow

setup db

run setup.sh found here to boot up the db and create the tables in it automatically


.env file - so I don't get dementia

# discord keys
MARKOV_KEY=
MUZIKA_KEY=
BAJBOT_KEY=

# musicbot (credits to https://github.com/jagrosh/MusicBot)
BOT_OWNER=
VERSION=

# character for legacy commands
LEGACY_KEY=

# ai stuff
OPENAI_KEY=
OPENAI_PRE_PROMPT=

#postgres variables
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=db
POSTGRES_PORT=
POSTGRES_URL=jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_USER}