Commit graph

5 commits

Author SHA1 Message Date
Hugh Rundle e2ece557c2
add some more options
- add extra reply options
- fix mentions
2024-08-10 12:09:36 +10:00
Hugh Rundle e5728006bc improve error-checking and add username to some responses
Previously clippy was left in an unresponsive state if an authentication error occured, or in some cases if the remote server dropped the connection without sending a close() message. Clippy now terminates the socket connection on every connection error or authentication error, waits 5 seconds, and tries again.

Also added username to the response function, and added a couple of extra responses.
2021-07-09 18:48:15 +10:00
Hugh Rundle 852d96f635 bugfix
- clippy now ignores toots that mention clippy
- remove all mentions before checking toot text for topic
- normalise casing of toots for broader matching (probably only works for ASCII)
2021-05-28 20:52:24 +10:00
Hugh Rundle e4ad64b0c8 see all references to topic in CWs
- not just exact matches :-)
2021-05-23 15:43:09 +10:00
Hugh Rundle 3b7931d445 first code commit 2021-05-15 15:03:59 +10:00