diff options
| -rw-r--r-- | LICENSE | 4 | ||||
| -rwxr-xr-x | tts.sh | 2 | ||||
| -rw-r--r-- | tts/init.lua | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 - Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + Copyright (C) 2026 Vulonkaaz <vulonkaaz AROBASE flyingcube POINT tech> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long @@ -10,4 +10,4 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. You just DO WHAT THE FUCK YOU WANT TO.
\ No newline at end of file + 0. You just DO WHAT THE FUCK YOU WANT TO. @@ -3,6 +3,6 @@ grep --line-buffered -F "[CHATTTS]"|grep --line-buffered -F "<"|while read line do pitch=$(echo $line|awk -F"[<>]" '{print $2}'| sha256sum | grep -Eo "[[:digit:]]{2}" | head -n1) - msg=$(echo $line|sed 's/@#[A-Za-z0-9]\{6\})//g;s/^[^>]*>//') + msg=$(echo $line|sed 's/^[^>]*>//') echo $msg|espeak -p $pitch done diff --git a/tts/init.lua b/tts/init.lua index 05db6a4..2f7bb99 100644 --- a/tts/init.lua +++ b/tts/init.lua @@ -1,4 +1,4 @@ core.register_on_receiving_chat_message(function(message) - core.log("action", "[CHATTTS] " .. message) + core.log("action", "[CHATTTS] " .. core.strip_colors(message)) return false end) |
