allow setting multiple targets per channel

This commit is contained in:
Syping 2024-01-12 00:09:18 +01:00
parent acbab3c97b
commit e09293cc4e
6 changed files with 65 additions and 46 deletions

View file

@ -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"
}
}
}
},