Channel linking #214

Merged
sirdog3355 merged 1 commit from feat/channel-linking into dev 2026-01-15 22:51:06 -05:00
sirdog3355 commented 2026-01-15 22:47:09 -05:00 (Migrated from github.com)

This PR introduces channel linking; the linking of voice and text channels together wherein anytime a member joins a voice channel they are automatically given read permissions for the linked text channel. This permission is then revoked upon leaving the channel.

Because all voice channel changes occur under the same event in Discord - on_voice_state_update - this occurs in any situation where a person is leaving or exiting a channel. The method that causes an update to a voice state is not relevant.

I've confirmed that this feature functions as intended in the following scenarios:

  • Admins/mods moving people
  • Joining an event auto puts you into its channel
  • Users being disconnected
  • Users being timed out

This feature comes with 3 new commands:

  • /cl-add: Link a text and voice channel together.
  • /cl-remove: Self-explanatory.
  • /cl-list: List the linked channels.

Closes #210

This PR introduces _channel linking_; the linking of voice and text channels together wherein anytime a member joins a voice channel they are automatically given read permissions for the linked text channel. This permission is then revoked upon leaving the channel. Because all voice channel changes occur under the same event in Discord - `on_voice_state_update` - this occurs in _any_ situation where a person is leaving or exiting a channel. The method that causes an update to a voice state is not relevant. I've confirmed that this feature functions as intended in the following scenarios: - [x] Admins/mods moving people - [x] Joining an event auto puts you into its channel - [x] Users being disconnected - [x] Users being timed out This feature comes with 3 new commands: - `/cl-add`: Link a text and voice channel together. - `/cl-remove`: Self-explanatory. - `/cl-list`: List the linked channels. Closes #210
Sign in to join this conversation.
No description provided.