Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(commands): disallow some features on channel types that make no sense #1880

Merged
merged 3 commits into from
Nov 26, 2022

Conversation

C0ZEN
Copy link
Member

@C0ZEN C0ZEN commented Nov 26, 2022

Closes #1853.

PR Checklist

Please check if your PR fulfils the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated (for bugfix/feature)
  • Docs have been added/updated (for bugfix/feature)

PR Type

What kind of change does this PR introduce?

  • Feature (a new feature)
  • Bugfix (a bug fix)
  • Style (changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc))
  • Refactor (a code change that neither fixes a bug nor adds a feature)
  • Perf (a code change that improves performance)
  • Test (adding missing tests or correcting existing tests)
  • Build (changes that affect the build system, CI configuration or external dependencies)
  • Docs (changes that affect the documentation)
  • Chore (anything else), please describe:

What is the current behaviour?

What is the new behaviour?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@C0ZEN C0ZEN added enhancement Add a new feature/enhancement merge-into-master Will create a PR from develop to master labels Nov 26, 2022
@C0ZEN C0ZEN added this to the v2.0.0 milestone Nov 26, 2022
@C0ZEN C0ZEN self-assigned this Nov 26, 2022
@github-actions github-actions bot added the test Contains a change in a test file label Nov 26, 2022
@codecov
Copy link

codecov bot commented Nov 26, 2022

Codecov Report

Merging #1880 (d3a6244) into develop (d943c0a) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1880      +/-   ##
===========================================
+ Coverage    96.96%   96.98%   +0.01%     
===========================================
  Files          365      368       +3     
  Lines         8277     8331      +54     
  Branches       871      880       +9     
===========================================
+ Hits          8026     8080      +54     
  Misses         251      251              
Flag Coverage Δ
integration 96.98% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
src/enums/service-name.enum.ts 100.00% <100.00%> (ø)
...es/command/discord-message-command-core.service.ts 100.00% <100.00%> (ø)
...ssage-command-verify-channel-right-core.service.ts 100.00% <100.00%> (ø)
...rd-message-command-verify-channel-right.service.ts 100.00% <100.00%> (ø)
...ommand/discord-message-sub-command-core.service.ts 100.00% <100.00%> (ø)
...essage-sub-command-verify-channel-right.service.ts 100.00% <100.00%> (ø)
...feature/discord-message-command-feature.service.ts 100.00% <100.00%> (ø)
...es/discord-message-command-feature-noon.service.ts 100.00% <100.00%> (ø)
...d-message-command-feature-release-notes.service.ts 100.00% <100.00%> (ø)

@C0ZEN C0ZEN merged commit c442c31 into develop Nov 26, 2022
@C0ZEN C0ZEN deleted the feature/filter-features branch November 26, 2022 14:37
@Sonia-corporation-bot
Copy link
Contributor

🎉 This PR is included in version 1.102.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Sonia-corporation-bot Sonia-corporation-bot added the released Added when a Github/npm release was made label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add a new feature/enhancement merge-into-master Will create a PR from develop to master released Added when a Github/npm release was made test Contains a change in a test file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Disable some features like noon to only work on specific channels
2 participants