ttstoy: skip accessibility auto-read for messages starting with '..'

This commit is contained in:
2026-10-18 22:57:01 -05:00
parent a2516f9b03
commit 63944c6aa8
+4
View File
@@ -2804,6 +2804,10 @@ class TtsToy(Cog):
if ctx.valid: if ctx.valid:
return return
# Messages starting with '..' are intentionally not read aloud.
if (message.content or "").lstrip().startswith(".."):
return
spoken = self._access_describe_message(message) spoken = self._access_describe_message(message)
if not spoken: if not spoken:
return return