fix: missed token part for joinme

This commit is contained in:
Terry Geng
2020-02-25 19:39:05 +08:00
parent 2a6d6f168d
commit 78b11d1fb5
2 changed files with 3 additions and 3 deletions

View File

@ -66,8 +66,8 @@ def send_multi_lines(bot, lines, text):
def cmd_joinme(bot, user, text, command, parameter):
channel_id = bot.mumble.users[text.actor]['channel_id']
bot.mumble.channels[channel_id].move_in()
bot.mumble.users.myself.move_in(
bot.mumble.users[text.actor]['channel_id'], token=parameter)
def cmd_user_ban(bot, user, text, command, parameter):