Skip to content

p2sr/LumaBot

 
 

Repository files navigation

LumaBot

Discord Shield

Discord Bot and web dashboard for verifying server members and other cool features like stream announcements, moderation tools, and more!

Usage

You'll need a Discord bot token, a MySQL database, and API keys from Steam and Twitch.

  1. Set up a MySQL luma database with a privileged user. You can do this on a local Docker MySQL instance or any MySQL server.

    CREATE DATABASE IF NOT EXISTS luma; GRANT ALL PRIVILEGES ON luma.* TO '<username>'@'%' IDENTIFIED BY '<password>';
  2. Create an .env file with the following contents:

    DISCORD_BOT_TOKEN=<>
    DISCORD_CLIENT_ID=<>
    DISCORD_CLIENT_SECRET=<>
    MYSQL_HOST=localhost
    MYSQL_USER=<username>
    MYSQL_PASS=<password>
    STEAM_KEY=<>
    TWITCH_CLIENT_ID=<>
    TWITCH_CLIENT_SECRET=<>

    To enable forum thread auto-close, also set both of these values:

    FORUM_AUTO_CLOSE_CHANNEL_ID=<forum channel id>
    FORUM_AUTO_CLOSE_TAG_ID=<closed tag id>

    Adding the configured closed tag archives and locks the thread. A thread owner, or the author of a thread message, can also react with the check mark emoji to archive and lock the thread, applying the closed tag when the thread has room for another tag.

  3. Build and run the Docker image with

    docker build -t LumaBot .
    docker run --env-file .env -p 80:80 --restart unless-stopped -d LumaBot

#bot-spam ?l ping

What time can you get?

About

Majorly WIP Discord Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 90.5%
  • TypeScript 4.7%
  • JavaScript 1.9%
  • SCSS 1.8%
  • Other 1.1%