Commit Graph

26 Commits

Author SHA1 Message Date
38131a5e4d Cleanup unused imports 2023-04-16 22:22:34 -04:00
54efdafd11 Make bot reject invite if it fails 2023-04-16 22:22:06 -04:00
2928e21873 Hack in autojoin invite example 2023-04-16 22:01:45 -04:00
e614407006 Shorten reaction (cuts off on element) 2023-04-16 21:14:27 -04:00
36860c9314 Modify keywords; cleanup debug.rs 2023-04-16 21:10:39 -04:00
d94095e8d9 Better detection system; Detection types 2023-04-16 20:43:36 -04:00
f7c7526081 Add room-specific configs 2023-04-16 12:04:12 -04:00
45b4099c1f Modify responses and add a struct for future room-specific configs 2023-04-15 21:50:17 -04:00
62473dea60 Fix logic error in judge::send_debug 2023-04-15 19:09:17 -04:00
72432181db Disable replying to scam message on alert 2023-04-15 09:00:16 -04:00
14246c7b60 Code cleanup/reformat, added comments, other stuff i forgor 2023-04-14 21:21:45 -04:00
ff2d897549 Rework detection & response system, add debug 2023-04-14 19:36:55 -04:00
4fa1490707 v0.4.0 - Refactor scam detection code 2023-04-13 22:44:17 -04:00
0d5ac4b344 scanpw wasnt working 2023-04-13 21:36:59 -04:00
df4734e508 Add more keywords 2023-04-13 20:15:49 -04:00
c7be4f6697 Update response 2023-04-13 01:01:42 -04:00
5bb904a442 Add more 18+ scam related keywords 2023-04-12 17:45:18 -04:00
4030de7e9d exchange rpassword for scanpw, delete session if token gets deleted 2023-04-12 17:36:28 -04:00
69d08d4dfb Add Homeserver and MXID resolve functions; Make login use MXID in the command line instead of stdin 2023-04-12 16:18:38 -04:00
931236b607 Attempt to cover more 18+ nude bots in keywords.json 2023-04-12 14:54:24 -04:00
638c847528 slight code cleanup; add 'buy' to keywords 2023-04-12 03:51:02 -04:00
43d4df272a Change the length test to use chars().count() instead of len() 2023-04-12 01:01:52 -04:00
452cf0a25d Cleanup redunant keywords 2023-04-12 00:01:18 -04:00
f1bb5713e5 Update keywords 2023-04-11 23:58:26 -04:00
ff556ecdfc Fix response_html not using response_md 2023-04-11 23:35:39 -04:00
257b033f03 v0.2.0 2023-04-11 23:06:14 -04:00