Refactor code

* move plugins out of botlib.pm
* use make_path instead of mkpath
* squash some bugs
* update .gitignore
* use more correct randomizer, rather than perl own rand()
* coding style fixes
This commit is contained in:
eleksir
2021-01-05 13:42:41 +03:00
parent 8a521d3f3b
commit a1d238949f
20 changed files with 582 additions and 406 deletions

17
.gitignore vendored
View File

@@ -1,7 +1,12 @@
vendor_perl
data/config.json
data/cache
data/telegrambot-brains
data/lat
.idea/**
.vscode/**
aleesa-telegram-bot.pid
TODO
data/cache/**
data/config.json
data/fortune/**
data/friday/**
data/karma/**
data/telegrambot-brains/**
data/lat/**
vendor_perl
_Deparsed_XSubs.pm