Skip to content

Conversation

@kyranet
Copy link
Member

@kyranet kyranet commented Mar 14, 2024

Changelog

  • Add s!timeout and s!untimeout.
  • Add events.timeout configuration key, for logging manual actions.
  • Manual or external prunes now report the moderator more consistently.

Private changelog

#2595 introduced a few bugs... all fixed in this PR.

  • Added action hooks for the moderation logger.
  • Fixed double completion, causing timed entries to duplicate the logs.
  • Fixed ModerationActionTimeout not setting the data correctly.

@codecov
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.62%. Comparing base (14e3470) to head (a98a953).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2594      +/-   ##
==========================================
+ Coverage   85.58%   85.62%   +0.03%     
==========================================
  Files          98       98              
  Lines        3657     3665       +8     
  Branches      212      293      +81     
==========================================
+ Hits         3130     3138       +8     
  Misses        523      523              
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kyranet kyranet linked an issue Mar 28, 2024 that may be closed by this pull request
3 tasks
@kyranet kyranet force-pushed the feat/add-timeout-support branch from d6a5469 to 32ad461 Compare March 28, 2024 23:09
@kyranet kyranet force-pushed the feat/add-timeout-support branch from 32ad461 to f925cf3 Compare March 28, 2024 23:24
kyranet added 2 commits March 29, 2024 00:52
and add more features for timeout and future updates!
@kyranet

This comment was marked as resolved.

@kyranet kyranet marked this pull request as ready for review March 30, 2024 18:15
@kyranet kyranet requested a review from favna as a code owner March 30, 2024 18:15
@kyranet kyranet merged commit 030470d into main Mar 31, 2024
@kyranet kyranet deleted the feat/add-timeout-support branch March 31, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(moderation): add native timeout support

3 participants