1

Refactor code. Fix some bugs.

+ Use lazy brain init.
* Move plugin code out of botlib.pm.
+ Now bot can private chatting
* Properly detect real jid if can, extract username from jid
* Change chatid generation, so all previously generated brains will be lost
+ Add !dig and !копать commands
+ Add !cat and !кис commands
* Some other minor changes
This commit is contained in:
eleksir
2021-01-07 16:13:29 +03:00
parent 4c7cf8ceca
commit b4a1bf66cf
15 changed files with 1038 additions and 428 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,5 @@
vendor_perl/**
data/brains/**
data/config.json
data/*.sqlite
data/cache/**
@@ -8,3 +9,4 @@ data/karma/**
data/lat/**
TODO
*.pid
*.log