Stieneee / mumble-discord-bridge

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

Option to disable text notifications #30

Closed gdude2002 closed 2 years ago

gdude2002 commented 2 years ago

We intend to use this bot to relay the audio of our meetings to a stage channel on our Discord server. It seems, however, that the bot automatically sends DMs to users on Discord that are listening whenever someone joins or leaves the channel the bot is in. It also does the opposite when someone joins or leaves the stage channel.

As we get huge groups, this would rapidly cause the bot to hit Discord's rate limits. It's also just generally not useful for our use-case. Is there any chance you'd be able to add a toggle to disable this behaviour?

stryan commented 2 years ago

Run it with "DISCORD_DISABLE_TEXT=true" as an environmental variable or --discord_disable_text=true as an argument.

gdude2002 commented 2 years ago

Oh, fantastic, thanks - did I skip over the docs for this somewhere?

stryan commented 2 years ago

Hmm, at some point all the env variables were listed in the README but seems they disappeared (probably because there's quite a lot at this point).

You can check all the command line options by running it with --help (i.e. mumble-discord-bridge --help).

gdude2002 commented 2 years ago

Ah okay, no worries. Thanks for the help!