Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gustavewpm/wpm-discord-bot

A Discord bot codebase attempt
https://github.com/gustavewpm/wpm-discord-bot

discord-bot discord-js discordjs docker docker-compose dragonflydb i18n postgresql prisma-orm typesafe typescript

Last synced: about 1 month ago
JSON representation

A Discord bot codebase attempt

Awesome Lists containing this project

README

        

# Initialisation

1. Run `make initialize`.

Your file tree should now look like this:

```
├── .env.example
├── .env
├── .env.test.example
├── .env.test
└── ...
```

1. Adapt env files (`.env.test`, `.env`...), based on provided examples files.
2. Find the token of your Discord bot instance, then put it in the `.env` file (i.e. : `BOT_TOKEN`)
3. Configure your bot as follows:

Discord bot config (1)


Discord bot config (2)


Discord bot config (3)

1. Run `docker compose up`
2. You can also run dev mode with `docker compose watch`