fix: missed token part for joinme
This commit is contained in:
parent
2a6d6f168d
commit
78b11d1fb5
@ -66,8 +66,8 @@ def send_multi_lines(bot, lines, text):
|
|||||||
|
|
||||||
|
|
||||||
def cmd_joinme(bot, user, text, command, parameter):
|
def cmd_joinme(bot, user, text, command, parameter):
|
||||||
channel_id = bot.mumble.users[text.actor]['channel_id']
|
bot.mumble.users.myself.move_in(
|
||||||
bot.mumble.channels[channel_id].move_in()
|
bot.mumble.users[text.actor]['channel_id'], token=parameter)
|
||||||
|
|
||||||
|
|
||||||
def cmd_user_ban(bot, user, text, command, parameter):
|
def cmd_user_ban(bot, user, text, command, parameter):
|
||||||
|
@ -214,7 +214,7 @@ help = <h3>Commands</h3>
|
|||||||
</ul>
|
</ul>
|
||||||
<b>Other</b>
|
<b>Other</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li> <b>!<u>j</u>oinme </b> - join your own channel </li>
|
<li> <b>!<u>j</u>oinme {token} </b> - join your own channel with {token}.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
admin_help = <h3>Admin command</h3>
|
admin_help = <h3>Admin command</h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user