diff --git a/command.py b/command.py index 75cdffb..3e7c8d1 100644 --- a/command.py +++ b/command.py @@ -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): diff --git a/configuration.default.ini b/configuration.default.ini index 818401d..08b0f67 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -214,7 +214,7 @@ help =