An open API service indexing awesome lists of open source software.

https://github.com/jakestanger/discotheque

A modular Discord bot for (my) private servers
https://github.com/jakestanger/discotheque

Last synced: 5 days ago
JSON representation

A modular Discord bot for (my) private servers

Awesome Lists containing this project

README

          

# Discotheque 2

Yet another general-purpose Discord bot. WIP, of course.

## Setup

### Requirements

- Node 12.x or later and Yarn
- An empty Postgres database

### Procedure

- Copy `.env.example` to `.env` and fill out the `Bot Configuration` section.
- Optionally fill in the Docker Compose values if using the Compose extras.
- Run `yarn prisma migrate deploy` to set up the database.
- Run `yarn build` to compile the source.
- Run `yarn disco client add --name --token ` to add a bot client.
- Clients can be added while the bot is running, but it must be restarted to take effect.
- Run `yarn start` to start the bot.

## Docker

Fill in the env vars in the below command and run:

```bash
docker run \
-v ./logs:/app/logs \
-e 'BOT_OWNER_ID=' \
-e 'DATABASE_URL=' \
-e 'SECRETS_KEY=' \
-e 'DGM_DATABASE_URL=' \
-e 'API_AUTH_TOKEN=' \
jakestanger/discotheque
```