Use env vars instead of json
This commit is contained in:
parent
57ae8a5e94
commit
89585cae0e
8 changed files with 28 additions and 38 deletions
13
README.md
13
README.md
|
|
@ -18,13 +18,12 @@ A multipurpose Discord bot written in Java.
|
|||
|
||||
---
|
||||
|
||||
## Config file schema
|
||||
```json
|
||||
{
|
||||
"token": "your_token",
|
||||
"warningChannel": 0
|
||||
}
|
||||
```
|
||||
## Enviromnent Variables
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------|----------------------------|
|
||||
| `DOKI_TOKEN` | Discord token for the bot |
|
||||
| `DOKI_WARNING_CHANNEL` | Channel to log warnings to |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue