Discord-for-TTT2 / dttt

Discord Integration for TTT2!
GNU General Public License v3.0
0 stars 0 forks source link

[FEAT] Sync Text/Voice permission with Discord #4

Open vertiKarl opened 5 months ago

vertiKarl commented 5 months ago

Is your feature request related to a problem? Please describe. There are multiple addons that mute players from ingame voice and/or text chat and it would be very nice to also reflect that in Discord.

Describe the solution you'd like Call a Hook probably something like TTT2CanUseVoiceChat at every point where a playerUnmute is triggered. (Respawn, Round Restart, ...) And if it returns false, mute them in Discord till the next event occurs. (Role-Switch, or any regular unmute scenario)

Describe alternatives you've considered We could also just force compatibility in every addon that does prevent text/voice chat, but that is a lot of work. (Maintaining a fork or trying to get a PR merged)

vertiKarl commented 4 months ago

Check for Text/Voice mute on role switch! (same as on respawn)