Fix @ command to only match at beginning of messages

This commit is contained in:
agessaman
2025-09-07 15:48:52 -07:00
parent 69bac5585f
commit d3ce007eed

View File

@@ -13,7 +13,7 @@ class AtPhraseCommand(BaseCommand):
# Plugin metadata
name = "at_phrase"
keywords = ['@', '@string', 'string']
keywords = [] # No keywords - only use custom syntax matching
description = "Responds to '@{string}' with ack + connection info (DM and non-Public channels)"
category = "custom_syntax"
requires_dm = False # Allow in channels, but restrict to non-Public channels in matches_custom_syntax