skyra icon indicating copy to clipboard operation
skyra copied to clipboard

fix(lockdown): ensure proper permission checks

Open favna opened this issue 4 years ago • 1 comments
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

favna avatar Oct 17 '21 16:10 favna

Codecov Report

Merging #2097 (1d030cb) into main (54a9557) will increase coverage by 0.12%. The diff coverage is 100.00%.

Impacted file tree graph

@@            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 data Powered by Codecov. Last update 54a9557...1d030cb. Read the comment docs.

codecov[bot] avatar Oct 17 '21 16:10 codecov[bot]

Superseded by #2593

kyranet avatar Mar 27 '24 11:03 kyranet