Refuse a bot token without a channel

Saving a token and leaving the channel empty produced a state that could
neither send nor delete, and only said so at the next attempt.
This commit is contained in:
Matthias G
2026-08-03 12:59:34 +02:00
parent 768bbca59c
commit 7a10754e70
4 changed files with 21 additions and 5 deletions
+4 -2
View File
@@ -298,7 +298,8 @@
"tokenInvalid": "Ein Bot-Token beginnt mit xoxb oder xoxp.",
"runNotSent": "Bei diesem Lauf ging keine Nachricht raus.",
"runNoChannel": "Es ist kein Kanal hinterlegt.",
"runNotFound": "Im Kanal war keine passende Nachricht zu finden. Braucht der Bot noch das Recht channels:history?"
"runNotFound": "Im Kanal war keine passende Nachricht zu finden. Braucht der Bot noch das Recht channels:history?",
"channelRequired": "Zum Bot-Token gehört ein Kanal, sonst weiß Logbuch nicht, wohin."
},
"errors": {
"nameRequired": "Trag einen Namen ein.",
@@ -759,7 +760,8 @@
},
"errors": {
"webhookInvalid": "Das sieht nicht nach einer Slack-Webhook-Adresse aus.",
"tokenInvalid": "Ein Bot-Token beginnt mit xoxb oder xoxp."
"tokenInvalid": "Ein Bot-Token beginnt mit xoxb oder xoxp.",
"channelRequired": "Zum Bot-Token gehört ein Kanal."
},
"tokenStored": "Hinterlegt, wird nicht mehr angezeigt.",
"replaceToken": "Anderen Token eintragen",