eleksir
31490b0922
Add per-chat nick setting, update README.md
2023-11-05 20:09:17 +03:00
eleksir
d88f08479d
Move read config stuff to separate file
2023-11-05 16:00:05 +03:00
eleksir
122f16c408
Add bayes classifier stubs, string normalizer, and deps, update sample config
2023-10-28 15:15:15 +03:00
eleksir
637d7778e3
Exit on wire error explicitly, do not hope on gTomb.Dying()
2023-10-08 10:27:58 -07:00
eleksir
453c15c046
Move ban_delay to config
2023-10-01 23:12:37 -07:00
eleksir
998a827d4b
Implement ban by phrase regexp, extend rehash command
...
* ban by blacklisted phrase regex-es
* rehash now works not only in rooms, but in private messages from rooms too
2023-10-01 19:43:40 -07:00
eleksir
ca384b5165
Implement help, помощь, rehash commands, restrict presence collection precedure
2023-09-03 15:00:41 +03:00
eleksir
91eac5cb6d
Fix linter errors and make Makefile more portable
2023-09-02 15:42:41 -07:00
eleksir
7f609ffb97
Fully implement ban of vilians when bot entered infested room, fix a bit MUC ping
2023-09-02 14:16:06 +03:00
eleksir
59b92f450d
Initial implementation of on-enter ban
2023-09-02 10:22:39 -07:00
eleksir
939ceaebfb
Move some functions to go-xmpp, update deps, more lining
2023-08-20 09:33:56 -07:00
eleksir
8a67a91ffb
Implement random startup/runtime status, cosmetic fixes
...
* Implement random startup status from array in config
* Implement random runtime status from array in config
* Implement runtime status rotation
* Remove noecho option from config and from code
* Use separate goroutine to set statuses
2023-08-17 09:48:57 -07:00
eleksir
84f7f21217
More lint fixes
...
* Correctly wrap errors
* Fix comments
* Add blank strings before continue, where it missing
* Reduce allocations
2023-08-13 08:40:50 -07:00
eleksir
267dd841a4
Do not os.Exit() on "wire" and xmpp-proto errors, re-run main routine and helper goroutines
2023-08-05 20:02:10 -07:00
Sergei
e8f8b3cb49
Massive cleanup - coding style, tiny bugs, typos and other errors
2023-07-29 23:12:38 -07:00
eleksir
0f1177bd91
Initial commit
2023-07-24 02:41:19 -07:00