• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

VolvoxLLC / volvox-bot / 25935685440
91%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 06:57PM UTC
Jobs 1
Files 336
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 May 2026 06:53PM UTC coverage: 90.896% (+0.008%) from 90.888%
25935685440

push

github

web-flow
fix(moderation): correct bugs in modlog config, OpenAPI enum, action labels, and default reply grammar (#926)

* fix(moderation): correct bugs in modlog config, OpenAPI enum, action labels, and default reply grammar

* fix: use grammatically correct past-tense labels in ACTION_PAST_TENSE

Reviewers flagged that phrases like "had messages purged" produce broken
sentences in both DM ("You have been had messages purged") and reply
("has been had their channel locked") templates. Switch to passive
participles that work after "has been" / "have been":

- untimeout: "removed from timeout"
- purge: "purged"
- lock: "locked"
- unlock: "unlocked"
- slowmode: "put in slowmode"

Also update the hardcoded untimeout.js formatReply to match.

* fix(test): add ACTION_PAST_TENSE to untimeout test mock

modAction.js imports ACTION_PAST_TENSE from moderation.js at module
level. The mock here was missing it — safe today because untimeout.js
always supplies formatReply, but any future test omitting formatReply
would hit a TypeError.

* fix: update ACTION_PAST_TENSE JSDoc and extract pastTense variable

- JSDoc now reflects broader usage (DM notifications + success replies)
  and documents the "has been X" grammar contract.
- Extract nested template literal to a local variable for readability,
  using nullish coalescing instead of logical OR.

* fix(test): add ACTION_PAST_TENSE to moderation mock in all command tests

The modAction.js import of ACTION_PAST_TENSE from moderation.js throws
TypeError when the mock doesn't include it, causing all executeModAction
calls to hit the error path instead of returning success replies.

---------

Co-authored-by: Volvox Bot <bot@volvox.dev>

10887 of 12627 branches covered (86.22%)

Branch coverage included in aggregate %.

16798 of 17831 relevant lines covered (94.21%)

167.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
84.93
0.0% src/modules/welcomeDynamicContext.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/181850215 25935685440.1 15 May 2026 06:57PM UTC 336
90.9
GitHub Action Run
Source Files on build 25935685440
  • Tree
  • List 336
  • Changed 7
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25935685440
  • 9a927195 on github
  • Prev Build on main (#25934318987)
  • Next Build on main (#25936780277)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc