Skip to content
/ Luke Public

Luke, simple discord bot with dashboard

License

Notifications You must be signed in to change notification settings

Nimplex/Luke

Repository files navigation

Luke


(Several things in the code were copied from badosz's bot and Mike)


Installation

Install all dependencies using:

yarn

Compile source code:

yarn build:ts
yarn build:sass

Create tokens.json file inside files directory, and put this code into this file:

{
    "discord": "discord-token",
    "secret": "client-secret",
    "session_secret": "session-secret (for example: asdasdasdasdasd)",
    "mongo": {
        "ip": "mongodb_database_address",
        "database": "Luke",
        "username": "mongodb_username",
        "password": "mongodb_password",
        "authDatabase": "admin"
    },
    "lavalink": {
        "host": "0.0.0.0",
        "port": 2333,
        "password": "youshallnotpass"
    },
    "dlist": "dlist-token",
    "obrazium": "https://obrazium.com"
}

Start bot:

yarn start