Fix #213
This commit is contained in:
parent
47687a5e06
commit
8c81ba215f
@ -621,7 +621,7 @@ def cmd_ducking(bot, user, text, command, parameter):
|
|||||||
if parameter == "" or parameter == "on":
|
if parameter == "" or parameter == "on":
|
||||||
bot.is_ducking = True
|
bot.is_ducking = True
|
||||||
var.db.set('bot', 'ducking', True)
|
var.db.set('bot', 'ducking', True)
|
||||||
bot.mumble.callbacks.set_callback(pymumble.c.PYMUMBLE_CLBK_SOUNDRECEIVED, bot.ducking_sound_received)
|
bot.mumble.callbacks.set_callback(pymumble.constants.PYMUMBLE_CLBK_SOUNDRECEIVED, bot.ducking_sound_received)
|
||||||
bot.mumble.set_receive_sound(True)
|
bot.mumble.set_receive_sound(True)
|
||||||
log.info('cmd: ducking is on')
|
log.info('cmd: ducking is on')
|
||||||
msg = "Ducking on."
|
msg = "Ducking on."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user