[Mod] Add a category mute #4101

Closed
opened 2020-07-23 12:43:27 +02:00 by madebylydia · 2 comments
madebylydia commented 2020-07-23 12:43:27 +02:00 (Migrated from github.com)

Feature request

Select the type of feature you are requesting:

  • Cog
  • Command
  • API functionality

Describe your requested feature

After looking at the mod cog and the [p]mute command, I saw there's no categories mute possible at the moment.
Tho I think it can be useful to had this functionality available.

Tha actual problem I saw is #3634 which is replacing mutes from mod cog.

# Feature request #### Select the type of feature you are requesting: - [ ] Cog - [X] Command - [ ] API functionality #### Describe your requested feature After looking at the mod cog and the `[p]mute` command, I saw there's no categories mute possible at the moment. Tho I think it can be useful to had this functionality available. Tha actual problem I saw is #3634 which is replacing mutes from mod cog.
TrustyJAID commented 2021-03-13 22:13:50 +01:00 (Migrated from github.com)

This sounds like far too much work than it's worth, category mutes can only really work well if you have channels synced and if they're not anyone who tries to use it will be confused as to why it's not working. Furthermore if the aformentioned issue is fixed by iterating through channels then we're going back to the non-role based mutes setup Red V3 started with which is problematic for a variety of reasons and why Mutes defaults to role based mutes right now. The vast number of channel permission overwrites combinations to handle in cases of category based mutes is far too many to handle for such a small payoff.

While I don't think this is a bad idea to include the complications of its inclusion and relative usefulness don't put it into a good position for priority. That said if someone wants to submit a PR to introduce it they're welcome to but it must adhere to a few rules.

  • Category Mutes shall apply the overwrites in all channels in the category.
  • Category Mutes after the mute duration shall only remove the overwrites it set when muting and not adjust any overwrites that were changed for the duration of the mute. I.E. Category mutes cannot just remove the overwrites when mutes are up unless the state prior to the mute had no channel overwrites for the user.

Some things that should still be discussed:

  • Should channels moved into the category during the mute also apply the overwrite?
  • Should the overwrites on the channel be removed if the channel is moved out of the category during a mute?
This sounds like far too much work than it's worth, category mutes can only really work well if you have channels synced and if they're not anyone who tries to use it will be confused as to why it's not working. Furthermore if the aformentioned issue is fixed by iterating through channels then we're going back to the non-role based mutes setup Red V3 started with which is problematic for a variety of reasons and why Mutes defaults to role based mutes right now. The vast number of channel permission overwrites combinations to handle in cases of category based mutes is far too many to handle for such a small payoff. While I don't think this is a bad idea to include the complications of its inclusion and relative usefulness don't put it into a good position for priority. That said if someone wants to submit a PR to introduce it they're welcome to but it must adhere to a few rules. - Category Mutes shall apply the overwrites in all channels in the category. - Category Mutes after the mute duration shall only remove the overwrites it set when muting and not adjust any overwrites that were changed for the duration of the mute. I.E. Category mutes cannot just remove the overwrites when mutes are up unless the state prior to the mute had no channel overwrites for the user. Some things that should still be discussed: - Should channels moved into the category during the mute also apply the overwrite? - Should the overwrites on the channel be removed if the channel is moved out of the category during a mute?
Owner

Offene Diskussion bzw. Feature-Wunsch mit geringem Nutzen im Verhältnis zum Aufwand (oder Nischenfall), der seit Langem ohne Ergebnis offen ist. Ich schließe das Issue; bei konkretem Bedarf kann es gern wieder geöffnet werden.


Generated by Claude Code

Offene Diskussion bzw. Feature-Wunsch mit geringem Nutzen im Verhältnis zum Aufwand (oder Nischenfall), der seit Langem ohne Ergebnis offen ist. Ich schließe das Issue; bei konkretem Bedarf kann es gern wieder geöffnet werden. --- _Generated by [Claude Code](https://claude.ai/code)_
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#4101
No description provided.