├── .dockerignore ├── .env_dist ├── .github └── workflows │ ├── build.yml │ ├── lint.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.adoc ├── CONTRIBUTING.adoc ├── Dockerfile ├── LICENSE ├── README.md ├── app ├── __init__.py ├── __main__.py ├── config │ ├── __init__.py │ ├── db.py │ ├── karmic_restriction.py │ ├── karmic_triggers.py │ ├── log.py │ ├── logging_config.py │ ├── main.py │ ├── moderation.py │ ├── restriction_plan.py │ ├── storage.py │ ├── tg_client.py │ └── webhook.py ├── filters │ ├── __init__.py │ ├── basic_arguments.py │ ├── has_target.py │ ├── karma_change.py │ ├── reports.py │ └── tg_permissions.py ├── handlers │ ├── __init__.py │ ├── base.py │ ├── change_karma.py │ ├── chat_rules.py │ ├── errors.py │ ├── karma.py │ ├── keyboards.py │ ├── moderator.py │ ├── settings.py │ └── superuser.py ├── infrastructure │ ├── __init__.py │ ├── assets │ │ └── privacy.txt │ └── database │ │ ├── __init__.py │ │ ├── models │ │ ├── __init__.py │ │ ├── chat.py │ │ ├── chat_settings.py │ │ ├── karma_actions.py │ │ ├── moderator_actions.py │ │ ├── report.py │ │ ├── user.py │ │ └── user_karma.py │ │ └── repo │ │ ├── __init__.py │ │ ├── chat.py │ │ ├── chat_settings.py │ │ ├── report.py │ │ └── user.py ├── middlewares │ ├── __init__.py │ ├── config_middleware.py │ ├── db_middleware.py │ └── fix_target_middleware.py ├── models │ ├── __init__.py │ ├── common.py │ ├── config │ │ ├── __init__.py │ │ ├── auto_restriction.py │ │ ├── db.py │ │ ├── log.py │ │ ├── storage.py │ │ ├── tg_client.py │ │ └── webhook.py │ ├── db │ │ ├── __init__.py │ │ └── db.py │ └── dto │ │ ├── __init__.py │ │ ├── import_karma.py │ │ └── user.py ├── services │ ├── __init__.py │ ├── adaptive_trottle.py │ ├── change_karma.py │ ├── find_target_user.py │ ├── karma.py │ ├── moderation.py │ ├── remove_message.py │ ├── report.py │ ├── restrict_call.py │ ├── settings.py │ ├── setup_chat.py │ ├── user_getter.py │ └── user_info.py └── utils │ ├── __init__.py │ ├── cli.py │ ├── exceptions.py │ ├── executor.py │ ├── log.py │ ├── timedelta_functions.py │ ├── types.py │ └── view.py ├── config_dist ├── .env ├── bot-config.yaml └── logging.yaml ├── docker-compose.yaml ├── docs ├── deploy_manual.md ├── development.md └── pictures │ ├── alternative_icon.png │ ├── gitgub_titlepic.png │ └── icon.png ├── karma_bot.conf ├── migrations ├── 01_initialize.py ├── 02_pump_karma_puls49.py ├── 03_add_settings.sql ├── 04_add_karma_counting_column_to_settings.sql ├── 05_add_report_table.sql ├── 06_alter_reports_add_message_columns.sql ├── 07_add_award_col_to_settings.sql ├── 08_to_postgres.migrate ├── 08_to_postgres.sh ├── 08_to_postgres.sql ├── __init__.py └── migrate.py ├── pyproject.toml └── tests ├── __init__.py ├── karma ├── __init__.py ├── common.py ├── fixtures │ ├── __init__.py │ └── fixtures_karma.py ├── test_correct_karma_filter.py └── test_not_one_word.py ├── target ├── __init__.py ├── common.py ├── correct_targets.py ├── fixtures │ ├── __init__.py │ └── targets.py └── test_auto_target.py └── timedelta ├── __init__.py ├── fixtures ├── __init__.py └── fixterus_timedelta.py └── test_timedelta_parser.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env_dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.env_dist -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/CODE_OF_CONDUCT.adoc -------------------------------------------------------------------------------- /CONTRIBUTING.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/CONTRIBUTING.adoc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/README.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/__main__.py -------------------------------------------------------------------------------- /app/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/__init__.py -------------------------------------------------------------------------------- /app/config/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/db.py -------------------------------------------------------------------------------- /app/config/karmic_restriction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/karmic_restriction.py -------------------------------------------------------------------------------- /app/config/karmic_triggers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/karmic_triggers.py -------------------------------------------------------------------------------- /app/config/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/log.py -------------------------------------------------------------------------------- /app/config/logging_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/logging_config.py -------------------------------------------------------------------------------- /app/config/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/main.py -------------------------------------------------------------------------------- /app/config/moderation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/moderation.py -------------------------------------------------------------------------------- /app/config/restriction_plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/restriction_plan.py -------------------------------------------------------------------------------- /app/config/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/storage.py -------------------------------------------------------------------------------- /app/config/tg_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/tg_client.py -------------------------------------------------------------------------------- /app/config/webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/config/webhook.py -------------------------------------------------------------------------------- /app/filters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/__init__.py -------------------------------------------------------------------------------- /app/filters/basic_arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/basic_arguments.py -------------------------------------------------------------------------------- /app/filters/has_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/has_target.py -------------------------------------------------------------------------------- /app/filters/karma_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/karma_change.py -------------------------------------------------------------------------------- /app/filters/reports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/reports.py -------------------------------------------------------------------------------- /app/filters/tg_permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/filters/tg_permissions.py -------------------------------------------------------------------------------- /app/handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/__init__.py -------------------------------------------------------------------------------- /app/handlers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/base.py -------------------------------------------------------------------------------- /app/handlers/change_karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/change_karma.py -------------------------------------------------------------------------------- /app/handlers/chat_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/chat_rules.py -------------------------------------------------------------------------------- /app/handlers/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/errors.py -------------------------------------------------------------------------------- /app/handlers/karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/karma.py -------------------------------------------------------------------------------- /app/handlers/keyboards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/keyboards.py -------------------------------------------------------------------------------- /app/handlers/moderator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/moderator.py -------------------------------------------------------------------------------- /app/handlers/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/settings.py -------------------------------------------------------------------------------- /app/handlers/superuser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/handlers/superuser.py -------------------------------------------------------------------------------- /app/infrastructure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/infrastructure/assets/privacy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/assets/privacy.txt -------------------------------------------------------------------------------- /app/infrastructure/database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/infrastructure/database/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/__init__.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/chat.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/chat_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/chat_settings.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/karma_actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/karma_actions.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/moderator_actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/moderator_actions.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/report.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/user.py -------------------------------------------------------------------------------- /app/infrastructure/database/models/user_karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/models/user_karma.py -------------------------------------------------------------------------------- /app/infrastructure/database/repo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/infrastructure/database/repo/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/repo/chat.py -------------------------------------------------------------------------------- /app/infrastructure/database/repo/chat_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/repo/chat_settings.py -------------------------------------------------------------------------------- /app/infrastructure/database/repo/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/repo/report.py -------------------------------------------------------------------------------- /app/infrastructure/database/repo/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/infrastructure/database/repo/user.py -------------------------------------------------------------------------------- /app/middlewares/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/middlewares/__init__.py -------------------------------------------------------------------------------- /app/middlewares/config_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/middlewares/config_middleware.py -------------------------------------------------------------------------------- /app/middlewares/db_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/middlewares/db_middleware.py -------------------------------------------------------------------------------- /app/middlewares/fix_target_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/middlewares/fix_target_middleware.py -------------------------------------------------------------------------------- /app/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/__init__.py -------------------------------------------------------------------------------- /app/models/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/common.py -------------------------------------------------------------------------------- /app/models/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/__init__.py -------------------------------------------------------------------------------- /app/models/config/auto_restriction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/auto_restriction.py -------------------------------------------------------------------------------- /app/models/config/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/db.py -------------------------------------------------------------------------------- /app/models/config/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/log.py -------------------------------------------------------------------------------- /app/models/config/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/storage.py -------------------------------------------------------------------------------- /app/models/config/tg_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/tg_client.py -------------------------------------------------------------------------------- /app/models/config/webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/config/webhook.py -------------------------------------------------------------------------------- /app/models/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/db/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/db/db.py -------------------------------------------------------------------------------- /app/models/dto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/dto/__init__.py -------------------------------------------------------------------------------- /app/models/dto/import_karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/dto/import_karma.py -------------------------------------------------------------------------------- /app/models/dto/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/models/dto/user.py -------------------------------------------------------------------------------- /app/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/services/adaptive_trottle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/adaptive_trottle.py -------------------------------------------------------------------------------- /app/services/change_karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/change_karma.py -------------------------------------------------------------------------------- /app/services/find_target_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/find_target_user.py -------------------------------------------------------------------------------- /app/services/karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/karma.py -------------------------------------------------------------------------------- /app/services/moderation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/moderation.py -------------------------------------------------------------------------------- /app/services/remove_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/remove_message.py -------------------------------------------------------------------------------- /app/services/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/report.py -------------------------------------------------------------------------------- /app/services/restrict_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/restrict_call.py -------------------------------------------------------------------------------- /app/services/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/settings.py -------------------------------------------------------------------------------- /app/services/setup_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/setup_chat.py -------------------------------------------------------------------------------- /app/services/user_getter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/user_getter.py -------------------------------------------------------------------------------- /app/services/user_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/services/user_info.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/utils/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/cli.py -------------------------------------------------------------------------------- /app/utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/exceptions.py -------------------------------------------------------------------------------- /app/utils/executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/executor.py -------------------------------------------------------------------------------- /app/utils/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/log.py -------------------------------------------------------------------------------- /app/utils/timedelta_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/timedelta_functions.py -------------------------------------------------------------------------------- /app/utils/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/types.py -------------------------------------------------------------------------------- /app/utils/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/app/utils/view.py -------------------------------------------------------------------------------- /config_dist/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/config_dist/.env -------------------------------------------------------------------------------- /config_dist/bot-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/config_dist/bot-config.yaml -------------------------------------------------------------------------------- /config_dist/logging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/config_dist/logging.yaml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/deploy_manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docs/deploy_manual.md -------------------------------------------------------------------------------- /docs/development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docs/development.md -------------------------------------------------------------------------------- /docs/pictures/alternative_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docs/pictures/alternative_icon.png -------------------------------------------------------------------------------- /docs/pictures/gitgub_titlepic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docs/pictures/gitgub_titlepic.png -------------------------------------------------------------------------------- /docs/pictures/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/docs/pictures/icon.png -------------------------------------------------------------------------------- /karma_bot.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/karma_bot.conf -------------------------------------------------------------------------------- /migrations/01_initialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/01_initialize.py -------------------------------------------------------------------------------- /migrations/02_pump_karma_puls49.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/02_pump_karma_puls49.py -------------------------------------------------------------------------------- /migrations/03_add_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/03_add_settings.sql -------------------------------------------------------------------------------- /migrations/04_add_karma_counting_column_to_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/04_add_karma_counting_column_to_settings.sql -------------------------------------------------------------------------------- /migrations/05_add_report_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/05_add_report_table.sql -------------------------------------------------------------------------------- /migrations/06_alter_reports_add_message_columns.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/06_alter_reports_add_message_columns.sql -------------------------------------------------------------------------------- /migrations/07_add_award_col_to_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/07_add_award_col_to_settings.sql -------------------------------------------------------------------------------- /migrations/08_to_postgres.migrate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/08_to_postgres.migrate -------------------------------------------------------------------------------- /migrations/08_to_postgres.sh: -------------------------------------------------------------------------------- 1 | pgloader 08_to_postgres.migrate 2 | -------------------------------------------------------------------------------- /migrations/08_to_postgres.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/08_to_postgres.sql -------------------------------------------------------------------------------- /migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/migrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/migrations/migrate.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/karma/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/karma/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/karma/common.py -------------------------------------------------------------------------------- /tests/karma/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/karma/fixtures/__init__.py -------------------------------------------------------------------------------- /tests/karma/fixtures/fixtures_karma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/karma/fixtures/fixtures_karma.py -------------------------------------------------------------------------------- /tests/karma/test_correct_karma_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/karma/test_correct_karma_filter.py -------------------------------------------------------------------------------- /tests/karma/test_not_one_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/karma/test_not_one_word.py -------------------------------------------------------------------------------- /tests/target/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/target/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/target/common.py -------------------------------------------------------------------------------- /tests/target/correct_targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/target/correct_targets.py -------------------------------------------------------------------------------- /tests/target/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/target/fixtures/__init__.py -------------------------------------------------------------------------------- /tests/target/fixtures/targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/target/fixtures/targets.py -------------------------------------------------------------------------------- /tests/target/test_auto_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/target/test_auto_target.py -------------------------------------------------------------------------------- /tests/timedelta/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/timedelta/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/timedelta/fixtures/__init__.py -------------------------------------------------------------------------------- /tests/timedelta/fixtures/fixterus_timedelta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/timedelta/fixtures/fixterus_timedelta.py -------------------------------------------------------------------------------- /tests/timedelta/test_timedelta_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bomzheg/KarmaBot/HEAD/tests/timedelta/test_timedelta_parser.py --------------------------------------------------------------------------------