Skip to content

feat: add trusted user management and trusted list metadata#12

Open
rezhajulio wants to merge 2 commits into
mainfrom
feat/internal-team
Open

feat: add trusted user management and trusted list metadata#12
rezhajulio wants to merge 2 commits into
mainfrom
feat/internal-team

Conversation

@rezhajulio
Copy link
Copy Markdown
Owner

Summary

  • add global trusted-user management (/trust, /untrust) for admin DM flows
  • add /trusted command to list trusted users
  • trusted users now bypass anti-spam + duplicate-spam enforcement only
  • trusting a user clears probation and attempts unrestrict across monitored groups
  • extend /check action keyboard with trust/untrust actions
  • preload trusted-user cache at startup and keep cache synced on mutations
  • enrich /trusted output with who trusted the user and when (UTC)

Verification

  • uv run ruff check .
  • uv run pytest --cov=bot --cov-report=term-missing

Result

  • 596 tests passed
  • total coverage: 99%

@rezhajulio rezhajulio force-pushed the feat/internal-team branch from 5338140 to fe20c42 Compare May 16, 2026 09: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