Browse Source

channel name uses path

encrypt 4 years ago
parent
commit
62db85a6e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mumble-bot/bot.py

+ 1 - 1
mumble-bot/bot.py

@@ -81,7 +81,7 @@ def main():
     mumble.set_receive_sound(1)  # Enable receiving sound from mumble server
     mumble.start()
     mumble.is_ready()  # Wait for client is ready
-    mumble.channels.find_by_name(channel).move_in()
+    mumble.channels.find_by_tree(channel.split('/')).move_in()
     mumble.users.myself.mute()
 
     if is_streaming: