Stieneee / mumble-discord-bridge

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

-discord-command Appears to do nothing. #16

Closed HadetTheUndying closed 3 years ago

HadetTheUndying commented 3 years ago

I have tried using the default string and setting a string manually. Neither are working. Here is my config.

MUMBLE_ADDRESS=mumble.server
MUMBLE_USERNAME=Discord-Bridge
MUMBLE_CHANNEL=Lobby
MUMBLE_PASSWORD=
MUMBLE_INSECURE=1

DISCORD_TOKEN=mybottoken
DISCORD_GID=myguild
DISCORD_CID=mychannel
DISCORD_DISABLE_TEXT=true
DISCORD_COMMAND="bridge"
stryan commented 3 years ago

Just to double check, the command string should be prefaced an exclamation point i.e. "!bridge" not just "bridge. Are you doing that?

HadetTheUndying commented 3 years ago

Correct. I am in a voice channel saying "!bridge"

stryan commented 3 years ago

Are you running the bridge in "constant" mode? This is the default mode, and since it's designed to run all the time it doesn't accept manual commands. You can add "MODE=auto" or "MODE=manual" to your env file to switch it to auto or manual mode.

Otherwise, if you type "!bridge link" in a text channel while you're in a voice channel, do you see the following in the logs? Trying to join GID (GID number) and VID (VID number)

HadetTheUndying commented 3 years ago

Changing the mode to Auto did work. Now When I tell it to link it autojoins the channel set in the ,env file. I assume that's intended though and I'll have to manually move the bridge to a different channel. I'll make a PR updating the README.md because the way the functionality is described doesn't make this very clear. All good. Thank you for the help.

stryan commented 3 years ago

I'm actually fixing that right now over in my fork so once I'm done testing for the night I'll PR something that makes it behave similar to what you expect.