Voice moderation overhaul#206
Conversation
|
Are there plans to use this in the imminent future? If so, it's probably be best to just include this utility in the PR where it will be used. |
This will be used in the future but idk about imminent. It really depends on others as I only have the time to do the basic scaffolding for this, but I don't think I yet have the time to update other commands to use it. I also figured I'd make it freestanding as a utility since I imagine it would likely be used for more than just the mute command in the future. |
|
I'm very reluctant to accept a PR that adds dead code that might be used some time in the future |
Then I will mark this draft for now until I have the time to finish it or till someone else takes it up. |
|
Found some time to actually implement a duration based mute using roles to prevent screen share and voice activity. Currently though waiting on getting a proper ID for the required role so this PR is still DONOTMERGE until I have the actual role id. |
…d is not present when issued
…joins to address specific edge cases with voice give Made-with: Cursor
|
Work still needs more testing but I think the initial code is ready to be reviewed and scrutinized @jeremy-rifkin along with being open for additional discussion. |
|
Made some functionality changes such that we no longer attempt to update users automatically and instead make it explicit using a command. I've also added a shared voice-update module with a reusable selector pipeline and a manual /voice update command. Specifically on tccpp, /voice update refreshes only affected users (those without the voice role) where as /voice update all refreshes everyone and is the generic variant. On non-tccpp servers, all is required. The command uses the Move Members permission and reports succeeded, failed, and skipped counts, plus a clear error if no afk channel is configured. Much of these changes were done due to the discussion here here on the tccpp Discord: https://discord.com/channels/331718482485837825/801161716213219348/1480630596786065583 |
|
|
PR moved to a new branch and PR post located here: |



This PR updates voice moderation and how both mute works and how general permission updates work.
Main changes
/voice updateso VC mods can manually refresh voice permissions in their current channelHow
/voice updateworks/voice updaterefreshes only affected users on TCCPP (those without the voice role)/voice update allrefreshes everyone in the channelallis requiredDiscussions had prior on this PR:
https://discord.com/channels/331718482485837825/801161716213219348/1477483066191515760
https://discord.com/channels/331718482485837825/801161716213219348/1480630596786065583