allow full path

changes for #106
This commit is contained in:
Azlux 2020-03-21 14:55:48 +01:00
parent a097102b17
commit 22e705a469
2 changed files with 5 additions and 2 deletions

View File

@ -132,6 +132,9 @@ class MumbleBot:
self.set_comment()
self.mumble.users.myself.unmute() # by sure the user is not muted
if self.channel:
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)

@ -1 +1 @@
Subproject commit 1dd6d6d4df2fdef33202f17e2acf3ba9678a5737
Subproject commit 9b30cf2dea037b728a3dd38e3364b92415eb79b3