Skip to content

Tags: bomzheg/KarmaBot

Tags

1.7.0

Toggle 1.7.0's commit message
few fixes after migrations

1.6.1

Toggle 1.6.1's commit message
fix text

1.6

Toggle 1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #96 from bomzheg/aiogram3

migrate to Aiogram3

1.5

Toggle 1.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Logging (#89)

* migrate to logging

* reformat code after migrate

* more fixes

1.4

Toggle 1.4's commit message
dockerfile fix

1.3

Toggle 1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Hotfixes (#87)

* fix incorrect sql

* add documentation for new settings

Co-authored-by: Yuriy Chebyshev <ychebyshev@it.ru>

1.2

Toggle 1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Change rules minus karma 2 (#78)

* update gitignore

* change karma trigger rules for minus karma

* add ")" to punctuation

Co-authored-by: Yuriy Chebyshev <cheb.yuriy@gmail.com>

1.1

Toggle 1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support media change karma (#75)

* add all content-types with caption

* fix caption_entities

* fix emoji and non-caption media message

1.0

Toggle 1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Restrict on negative karma (#72)

* add transaction to change_karma services

* split ban and ro to handler part and service part

* fixes, separate logic between functions, refactoring

* add __all__ for linter fix

* add automatically restriction after very low karma

* fixes

* add config param to enable/disable auto restrict on negative karma

* move render message in separate function

* move condition to separate function

* move TypeRestriction to models package

* rename variable

* add function for check has user restriction or not

* fix exception clause

* fix typehint (change destination in pyrogram)

* add auto restrict on negative karma

* last one restriction on negative karma must be ban

* text fixes

* update .gitignore

* fix texts

* refactor more logic karmic ro

* user cant negative karma to target with RO
new exception and Exception group - for skip negative karma process
remove deprecated filters

* BUGFIXES, fix cancel change karma

* correct shield restricted from decrease karma and notify user for that

* fix typos
remove unused comments
remove unused imports

* fix race condition in case one user change karma and make it less than -100, bot change karma to -80 than another user change same karma and than first user cancel his action.
Now it case correct work cancel imitate that user newer do cancelled action

* rename consts

* add few info to README.md

Co-authored-by: Yuriy Chebyshev <cheb.yuriy@gmail.com>

0.9

Toggle 0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Moderation (#45)

* fixes

* fixes

* add ro command

* add documentation for new commands

* add ban (+docs) add messages about errors

* refactor exception, move logic send answer to handler

* rename commnet with chat name

* bugfix deprecated function

* now minus triggers must be in first line

* remove logging

* add save in karma events table all events with karma

* add warns, add events restriction

* add get info user

* update formating info