Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: implement (temp)bans #63

Merged
merged 1 commit into from
Sep 10, 2023
Merged

feat: implement (temp)bans #63

merged 1 commit into from
Sep 10, 2023

Conversation

HeadTriXz
Copy link
Owner

Closes #14, part of #24.

  • Adds a /ban command
  • Supports temporary bans (scheduled unbans)

@HeadTriXz HeadTriXz added enhancement New feature or request barry labels Sep 10, 2023
@HeadTriXz HeadTriXz added this to the 1.0.0 milestone Sep 10, 2023
@codecov
Copy link

codecov bot commented Sep 10, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.03% 🎉

Comparison is base (22e2f05) 99.28% compared to head (e567bef) 99.31%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
+ Coverage   99.28%   99.31%   +0.03%     
==========================================
  Files         107      110       +3     
  Lines       12283    12925     +642     
  Branches     1321     1405      +84     
==========================================
+ Hits        12195    12837     +642     
  Misses         88       88              
Flag Coverage Δ
barry 99.01% <100.00%> (+0.07%) ⬆️
core 99.92% <ø> (ø)
logger 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...modules/moderation/commands/chatinput/ban/index.ts 100.00% <100.00%> (ø)
...odules/moderation/commands/chatinput/kick/index.ts 100.00% <100.00%> (ø)
...odules/moderation/commands/chatinput/mute/index.ts 100.00% <100.00%> (ø)
apps/barry/src/modules/moderation/database.ts 100.00% <100.00%> (ø)
...ry/src/modules/moderation/functions/getDuration.ts 100.00% <100.00%> (ø)
.../src/modules/moderation/functions/getLogContent.ts 100.00% <100.00%> (ø)
apps/barry/src/modules/moderation/index.ts 100.00% <100.00%> (ø)

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

@HeadTriXz HeadTriXz merged commit 0952834 into main Sep 10, 2023
@HeadTriXz HeadTriXz deleted the mod-ban branch September 10, 2023 11:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
barry enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create command for banning users
1 participant