fix: stop intercepting non-command : prefixed messages
Change handleExtensionCommand default case to pass through unrecognized
: prefixed messages as normal chat. Previously :) :D 🤔 etc.
would return "Unknown command" across all channels (Telegram, Discord).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
77f1759c3b
commit
7cedf9bd0e
1 changed files with 3 additions and 1 deletions
|
|
@ -1292,7 +1292,9 @@ Token usage (this session):
|
|||
), true
|
||||
|
||||
default:
|
||||
return fmt.Sprintf("Unknown command: %s\nType :help for available commands.", cmd), true
|
||||
// Don't intercept unrecognized : prefixed messages (e.g. :) :D :thinking:)
|
||||
// Let them pass through as normal chat messages
|
||||
return "", false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue