skyra
skyra copied to clipboard
fix(lockdown): ensure proper permission checks
trafficstars
Ref for inspiration: https://github.com/Naval-Base/yuudachi/pull/1012
Yuu's post-merge files: https://github.com/Naval-Base/yuudachi/tree/main/src/functions/lockdowns and https://github.com/Naval-Base/yuudachi/blob/main/src/commands/moderation/lockdown.ts
Codecov Report
Merging #2097 (1d030cb) into main (54a9557) will increase coverage by
0.12%. The diff coverage is100.00%.
@@ Coverage Diff @@
## main #2097 +/- ##
==========================================
+ Coverage 91.77% 91.89% +0.12%
==========================================
Files 125 125
Lines 5736 5735 -1
Branches 365 368 +3
==========================================
+ Hits 5264 5270 +6
+ Misses 470 463 -7
Partials 2 2
| Impacted Files | Coverage Δ | |
|---|---|---|
| .../lib/i18n/languageKeys/keys/commands/Moderation.ts | 100.00% <100.00%> (ø) |
|
| .../lib/i18n/languageKeys/keys/commands/Developers.ts | 100.00% <0.00%> (ø) |
|
| src/lib/util/formatters.ts | 92.56% <0.00%> (+1.65%) |
:arrow_up: |
| src/lib/util/constants.ts | 100.00% <0.00%> (+3.33%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 54a9557...1d030cb. Read the comment docs.
Superseded by #2593