Skip to content

iamasink/lilysbot

Repository files navigation

lilysbot, aka Wiwwie

my discord bot :3

Created to help me with moderation, with features that no other bot quite satisfied me with:

  • Detailed user info
    Screenshot
    Screenshot
  • Invite tracking
    • /invite create
      Create an invite with a friendly name, so you can see where users have been invited from.
      Screenshot
    • /invite list List all invites, optionally including expired ones
  • Basic server XP system
  • OpenAI API integration

Running in docker

See docker-compose-example.yml for an example compose configuration.

  • Clone this repo with
git clone https://github.com/iamasink/lilysbot.git
  • Edit docker-compose-example.yml
    • edit redis persistant data path
    • (optional) rename to docker-compose.yml
  • Run docker compose build
  • Run docker compose up

This will compile the typescript code and start the bot

Running with nodemon (for development)

  • Clone this repo with
git clone https://github.com/iamasink/lilysbot.git
cd lilysbot
  • Ensure you have a redis-stack database running (you can just run docker compose up redis-stack)
  • Set environment variables in package.json's nodemonConfig.env
  • Run with nodemon
npx nodemon src/index.ts