mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update radio.py
This commit is contained in:
@@ -150,7 +150,7 @@ 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]()
|
||||
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}'")
|
||||
|
||||
Reference in New Issue
Block a user