Skip to content

fix(blacklist): send the notice at most once in two minutes - #6

Merged
RejectModders merged 1 commit into
mainfrom
fix/blacklist-notice
Nov 30, 2026
Merged

RejectModders merged 1 commit into
mainfrom
fix/blacklist-notice

Conversation

@RejectModders

Copy link
Copy Markdown
Member

Every direct message from a blacklisted user drew a notice from the bot. They now get it at most once in two minutes, with the cooldown the ticket offer already uses.

Tested with tests/test_blacklist_notice.py.

Every direct message from a blacklisted user drew a notice from the bot, with no limit.
Base automatically changed from fix/refused-messages to main November 30, 2026 03:22
@RejectModders
RejectModders merged commit 2fa0ac3 into main Nov 30, 2026
3 checks passed
@RejectModders
RejectModders deleted the fix/blacklist-notice branch November 30, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant