Stieneee / mumble-discord-bridge

A simple voice bridge between Mumble and Discord.
MIT License
149 stars 16 forks source link

[Feature Request] Show who is talking in Discord presence #39

Open NoahvdAa opened 2 years ago

NoahvdAa commented 2 years ago

Sometimes, it can be hard to figure out who is talking, especially if there are a lot of people in the mumble channel. It would be nice if there was a way to see who is currently talking. The ratelimits around nicknames are too strict to provide any useful information (and it would spam the audit logs).

Instead, Discord's presence feature could be used. Currently, the bot displays "Listening to x/x users in Mumble". This could be replaced with "Listening to <name>" when a person speaks for more than a few seconds (or when there are multiple users talking, "Listening to <name1>, <name2> and 3 others"). The rate limits around presence updates seem a lot more relaxed than nicknames, allowing for 5 updates every 20 seconds.