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

Open
henrkgr wants to merge 1 commits from improved-behavior into main
Member

Changes:

  • Command detection is case insensitive
  • Command detection uses startsWith instead of just an equals check
  • Commands are now part of config.json
  • If the webhook HTTP request fails, there's a catch block on it now
  • The bot responds to the user when a doorbell command is detected
# Changes: - Command detection is case insensitive - Command detection uses startsWith instead of just an equals check - Commands are now part of config.json - If the webhook HTTP request fails, there's a catch block on it now - The bot responds to the user when a doorbell command is detected
henrkgr added 1 commit 2024-08-24 21:48:02 +02:00
felixalb approved these changes 2024-08-24 21:50:12 +02:00
felixalb left a comment
Owner

LGTM 🚀

LGTM 🚀
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b improved-behavior main
git pull origin improved-behavior

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff improved-behavior
git push origin main
Sign in to join this conversation.
No description provided.