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
- Host: GitHub
- URL: https://github.com/jakestanger/discotheque
- Owner: JakeStanger
- License: mit
- Created: 2020-07-05T00:00:06.000Z (almost 6 years ago)
- Default Branch: v2
- Last Pushed: 2026-04-13T21:34:23.000Z (2 months ago)
- Last Synced: 2026-04-13T23:28:00.209Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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
```