Telegram bot for change karma and simple moderation with history of actions
cmd_warn
by @Desiders in https://github.com/bomzheg/KarmaBot/pull/108
get_mentions_admins
by @Desiders in https://github.com/bomzheg/KarmaBot/pull/113
xy
command if reply not found by @Desiders in https://github.com/bomzheg/KarmaBot/pull/150
created_time
to models as message.date
instead of using datetime.utcnow()
by @Desiders in https://github.com/bomzheg/KarmaBot/pull/148
.pre-commit-config.yaml
repos to the latest versions by @Desiders in https://github.com/bomzheg/KarmaBot/pull/153
time_to_remove_temp_messages
instead of const time by @Desiders in https://github.com/bomzheg/KarmaBot/pull/156
!top
with chat ID in groups, handling chat not found exception by @Desiders in https://github.com/bomzheg/KarmaBot/pull/154
Full Changelog: https://github.com/bomzheg/KarmaBot/compare/1.6.1...1.7.0
added new commands (ported from @itfy_infobot (sources)) !go [args] - lmgfy-like command !nm - link to nometa !paste - links to dpaste.org and gist.github.com
upgrade to aiogram3, refactoring main
move from loguru to logging
full refactor config simple fix of texts
add simple settings for karmic restrictions
change rules for minus karma - now correct syntax is "-10 my reason" add ) to punctuations small refactoring
add support of media messages with karma triggers
Karma bans now in bot. when user karma will drop below -100 user go in ro. first time - 7 days, second time - 30 days, third time - ban forever. after become ro or ban user karma return to -80
add moderation features