- Update Python versions
- Fix replying to commands in topics
- Add support for service accounts (
payment_google_cred_type
) - Add possibility to specify the worksheet index in config (
payment_worksheet_idx
)
- Minor bug fix (passing not-existent variable as parameter)
- Migrate Google OAuth flow after deprecation
- Fix some mypy and prospector warnings
- Add configuration for isort and run it on project
- Add support for pyrogram version 2 (version 1 still supported)
- Members without username or that haven't paid are kicked until no one left (useful in channels with more than 200 members)
- Fix usage in channels
- Fix ban method name for pyrogram 1.4
- Add command for showing bot version
- Add possibility to disable duplicated email check
- Project re-organized into folders
- Add the possibility to use either user ID or username in payment file
- Bot works also in channels in addition to supergroups
- Fix group only restriction to
/paybot_task_remove_all_chats
command - Add single handlers for message updates, to avoid being notified of each single message sent in groups
- Fix bug when checking the correctness or payments data
- Rename commands by adding the
paybot_
prefix, to avoid conflicts with other bots - Email is checked for duplication in payment file
- Use pygsheets library for reading Google Sheets
- File columns specified using the letter instead of the index
- Add configuration files for flake8 and prospector
- Fix all flake8 warnings
- Fix the vast majority of prospector warnings
- Remove all star imports (
import *
)
- Fix wrong imports
- Add typing to class members
- Fix mypy errors
- Minor bug fixes
- Fix sentences sent during periodic payment check
- Fix some sentence names
- Exclude bots and self from username/payment check
- Payment check task is not statically configured anymore, but now it can be configured dynamically with specific commands
- Payment check on member join can be configured dynamically with specific commands
- Possibility to usa a "normal" log file handler in addition to the rotating file handler
- Add placeholders to translation sentences (in this way, they can be moved to different positions depending on the language)
- Add possibility to translate bot messages in different languages using a custom xml file (
app_lang_file
) - Add possibility to leave some configuration fields empty (
support_email
,support_telegram
,payment_website
) - Add possibility to check and change test mode without restarting the bot using commands
set_test_mode
andis_test_mode
- Add possibility to check payments data using command
check_payments_data
- Add possibility to set the date format for payments data (
payment_date_format
) - Add possibility to disable emails (
email_enabled
) and payment check when members join (payment_check_on_join
) - Payments data is checked for duplicated usernames and invalid dates
- Change periodical payment check period from seconds to minutes (
payment_check_period_sec
topayment_check_period_min
)
First release