Commands are case insensitive, checks using startwith, commands added to config, catches error on webhook request

This commit is contained in:
2024-08-24 19:32:19 +02:00
parent cec320746b
commit b0ac3ea19c
3 changed files with 17 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
"homeserver": "HOME_SERVER",
"token": "ACCESS_TOKEN",
"prefix": "BOT_PREFIX",
"commands": ["COMMAND1", "COMMAND2"],
"rooms": ["AUTHORIZED_ROOM_ID", "ANOTHER_AUTHORIZED_ID"],
"doorbellWebhook": "https://GOOGLE.ASSISTANT.WEBHOOK.URL/"
}