diff --git a/mumbleBot.py b/mumbleBot.py index ce510da..72771c9 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -132,7 +132,10 @@ class MumbleBot: self.set_comment() self.mumble.users.myself.unmute() # by sure the user is not muted if self.channel: - self.mumble.channels.find_by_name(self.channel).move_in() + if '/' in self.channel: + self.mumble.channels.find_by_tree(channel.split('/')).move_in() + else: + self.mumble.channels.find_by_name(self.channel).move_in() self.mumble.set_bandwidth(200000) self.is_ducking = False diff --git a/pymumble b/pymumble index 1dd6d6d..9b30cf2 160000 --- a/pymumble +++ b/pymumble @@ -1 +1 @@ -Subproject commit 1dd6d6d4df2fdef33202f17e2acf3ba9678a5737 +Subproject commit 9b30cf2dea037b728a3dd38e3364b92415eb79b3