mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-05 16:32:06 +02:00
allow setting multiple targets per channel
This commit is contained in:
parent
acbab3c97b
commit
e09293cc4e
6 changed files with 65 additions and 46 deletions
|
@ -5,12 +5,22 @@
|
|||
"channel_1": {
|
||||
"source": "en",
|
||||
"target": "de",
|
||||
"webhook": "https://..."
|
||||
"webhook": "https://german.webhook"
|
||||
},
|
||||
"channel_2": {
|
||||
"source": "de",
|
||||
"target": "en",
|
||||
"webhook": "https://..."
|
||||
"webhook": "https://english.webhook"
|
||||
}
|
||||
},
|
||||
"guild_2": {
|
||||
"channel_1": {
|
||||
"source": "en",
|
||||
"target": {
|
||||
"de": "https://german.webhook",
|
||||
"fr": "https://french.webhook",
|
||||
"ru": "https://russian.webhook"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue