mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-09-17 16:52:47 +00:00
update config
This commit is contained in:
@@ -36,55 +36,9 @@ Next, you should configure the bot to your liking
|
|||||||
## Config
|
## Config
|
||||||
Even if it seems a bit tedious, I highly recommend going through the entire config and checking if there's something that you would like to customize.
|
Even if it seems a bit tedious, I highly recommend going through the entire config and checking if there's something that you would like to customize.
|
||||||
|
|
||||||
I added an [example config](config.json.example):
|
I added an [example config](config.json.example). Rename `config.json.example` to `config.json` and fill it out.
|
||||||
```json
|
|
||||||
{
|
|
||||||
"discord": {
|
|
||||||
"token": "",
|
|
||||||
"server": ,
|
|
||||||
"vc": ,
|
|
||||||
"lang": "de",
|
|
||||||
"formatting": "┇",
|
|
||||||
"emojis": true
|
|
||||||
},
|
|
||||||
"connections": {
|
|
||||||
"stations": [
|
|
||||||
"Berlin Hauptbahnhof",
|
|
||||||
"Amsterdam",
|
|
||||||
"Helsinki"
|
|
||||||
],
|
|
||||||
"IDs": [],
|
|
||||||
"blacklist": [
|
|
||||||
"OTHER",
|
|
||||||
"RIDE_SHARING"
|
|
||||||
],
|
|
||||||
"min_duration": 10,
|
|
||||||
"max_duration": null,
|
|
||||||
"max_wait_time": null,
|
|
||||||
"timezone": "Europe/Berlin"
|
|
||||||
},
|
|
||||||
"announcements": {
|
|
||||||
"enabled": true,
|
|
||||||
"voice": [
|
|
||||||
{
|
|
||||||
"enabled": false,
|
|
||||||
"end_stations": {
|
|
||||||
"general": "general.aac",
|
|
||||||
},
|
|
||||||
"stops": {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http": {
|
|
||||||
"user_agent": "Gleiswechsel-Discord-Bot"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
You have to rename `config.json.example` to `config.json` and fill out the essential fields so that the bot is usable.
|
### Config explanations
|
||||||
|
|
||||||
### Explanations
|
|
||||||
|
|
||||||
#### discord
|
#### discord
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user