From 93c17112e35270e7982f9fc2c52d39119ee9ce2e Mon Sep 17 00:00:00 2001 From: Interitio Date: Fri, 7 Nov 2025 23:50:02 +1000 Subject: [PATCH] Switch to explicit allowed prefix list. --- hyperfocus/twitch/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperfocus/twitch/component.py b/hyperfocus/twitch/component.py index d058b20..cf0ca4d 100644 --- a/hyperfocus/twitch/component.py +++ b/hyperfocus/twitch/component.py @@ -72,7 +72,7 @@ class FocusComponent(cmds.Component): This amounts to whether it starts with a punctuation symbol, or it is only emotes and mentions. """ - allowed = message.text.startswith(tuple(punctuation)) + allowed = message.text.startswith(tuple("!*#%|?><.")) if not allowed: allowed = True