From c97aefcef106c56e65ee37aa12cef4cf94281234 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 14 Oct 2025 14:59:10 -0700 Subject: [PATCH] Update radio.py --- modules/radio.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/radio.py b/modules/radio.py index da480d2..92b171d 100644 --- a/modules/radio.py +++ b/modules/radio.py @@ -150,7 +150,10 @@ def checkVoxTrapWords(text): for word in new_words: if word in botMethods: logger.info(f"RadioMon: VOX action '{word}' with '{new_text}'") - return botMethods[word](None, None, None, vox=True) + if word == "joke": + return botMethods[word](vox=True) + else: + return botMethods[word](None, None, None, vox=True) logger.debug(f"RadioMon: VOX returning text after trap word '{trap_lower}': '{new_text}'") return new_text logger.debug(f"RadioMon: VOX no trap word found in: '{text}'")