Commit Graph

7 Commits

Author SHA1 Message Date
fd82a463f3 Deadlock detection, DND, and Frontend Fixes
* Deadlock detection: the chatbot handlers will spin off a background goroutine
  to ping DMs at itself and test for responsiveness. If the echoes don't return
  for a minute, issue a /api/shutdown command to the HTTP server to force a
  reboot.
* New admin API endpoint: /api/shutdown, equivalent to the operator '/shutdown'
  command sent in chat. Requires your AdminAPIKey to call it. Used by the chatbot
  as part of deadlock detection.
* Adjust some uses of mutexes to hopefully mitigate deadlocks a bit.
* Do Not Disturb: if users opt to "Ignore unsolicited DMs" they will set a DND
  status on the server which will grey-out their DM icon for other chatters.
* Bring back an option for ChatServer to notify you when somebody begins watching
  your camera (on by default).
* Automatically focus the message entry box when changing channels.
* Lower webcam resolution hints to 480p to test performance implications.
2023-08-29 15:54:40 -07:00
13fe6eccb7 Chatbot auto-greet cooldown tweaks 2023-08-17 22:33:01 -07:00
89f3937da8 Don't use the CaseSensitive RiveScript option 2023-08-15 20:49:04 -07:00
2b9b23f37a Update to RiveScript 0.4.0 2023-08-15 20:40:58 -07:00
af35ac9ed6 Chatbot improvements 2023-08-14 19:08:40 -07:00
9c8ff88f6e Update chatbot program
* New object macros: dm, takeback, report
* Bugfixes
2023-08-13 20:45:53 -07:00
9c05af2c2e BareBot Chatbot Client 2023-08-13 19:21:27 -07:00