diff --git a/JJMumbleBot/plugins/extensions/sound_board/sound_board.py b/JJMumbleBot/plugins/extensions/sound_board/sound_board.py index 4752b4e1..63422955 100644 --- a/JJMumbleBot/plugins/extensions/sound_board/sound_board.py +++ b/JJMumbleBot/plugins/extensions/sound_board/sound_board.py @@ -177,12 +177,7 @@ def process(self, text): random.seed(datetime.now()) random_sfx = random.choice(gather_list)[:-4] - sfx_duration = sbu.get_audio_length(random_sfx) - while sfx_duration > 6: - random_sfx = random.choice(gather_list)[:-4] - sfx_duration = sbu.get_audio_length(random_sfx) - # print(random_sfx) if not os.path.isfile(f"{dir_utils.get_perm_med_dir()}/{self.plugin_name}/{random_sfx}.wav"): GS.gui_service.quick_gui( "The sound clip does not exist.",