Commit Graph

45 Commits

Author SHA1 Message Date
db61e1b78d
SSO is working now 2023-04-21 16:22:14 -04:00
1c5565e0fb
Add logout command 2023-04-21 15:43:20 -04:00
9a14cb6c90
Add warning to login_sso 2023-04-20 21:51:08 -04:00
dcce732f5e
Add framework for SSO, *not finished* 2023-04-20 21:50:24 -04:00
d002af88a6
Tweak keywords to fit a missed scam 2023-04-20 18:12:23 -04:00
435b05949e
Fix KeywordSection::load not deserializing correctly 2023-04-20 18:10:37 -04:00
91b587f7db
Fix KeywordSection::load not deserializing correctly 2023-04-20 18:09:13 -04:00
033f41b0ac
Bandaid solution for no prompt 2023-04-19 22:26:47 -04:00
16bb6a48a2
More efficient method for KeywordSection::load() 2023-04-19 20:53:16 -04:00
516c2529e2
Add readme.md 2023-04-19 20:33:17 -04:00
8717f31a1b
Move prompt to prompt.rs; add rooms command 2023-04-19 19:16:47 -04:00
2b325960ba
Add stdin command prompt 2023-04-19 18:52:59 -04:00
3333f1a48c
Remove old event handler 2023-04-17 06:08:34 -04:00
60cd3ba1ad
Remove auto join code, too buggy 2023-04-17 06:07:44 -04:00
d757fffb8a
Add giveaway 2023-04-16 23:33:51 -04:00
5b6744d9b1
Crypto scam keywords 2023-04-16 23:33:14 -04:00
9073081d3a
Add more investment keywords 2023-04-16 23:29:02 -04:00
efb8a41044
Modify keywords 2023-04-16 23:28:00 -04:00
a97bfdc15c
Remove old session_file references 2023-04-16 23:11:07 -04:00
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