From cdb90947759643a2dc8583e25cb7ca3a547109e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=5B=EC=A0=9C=EC=9D=B4=EC=8A=A8=20=EC=A0=9C?= =?UTF-8?q?=EB=A1=AC=5D?= <20238115+DuckBoss@users.noreply.github.com> Date: Tue, 9 Jun 2020 02:18:40 -0400 Subject: [PATCH] Fixed typo in sound_board plugin so !sbrandom should work now --- JJMumbleBot/plugins/extensions/sound_board/sound_board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JJMumbleBot/plugins/extensions/sound_board/sound_board.py b/JJMumbleBot/plugins/extensions/sound_board/sound_board.py index 63422955..7524c8d7 100644 --- a/JJMumbleBot/plugins/extensions/sound_board/sound_board.py +++ b/JJMumbleBot/plugins/extensions/sound_board/sound_board.py @@ -164,7 +164,7 @@ def process(self, text): if not GS.audio_dni[0]: GS.audio_dni = (True, self.metadata[C_PLUGIN_INFO][P_PLUGIN_NAME]) else: - if GS.audio_dni-[1] != self.metadata[C_PLUGIN_INFO][P_PLUGIN_NAME]: + if GS.audio_dni[1] != self.metadata[C_PLUGIN_INFO][P_PLUGIN_NAME]: rprint( f'An audio plugin is using the audio thread with no interruption mode enabled. [{GS.audio_dni[1]}]') GS.gui_service.quick_gui(