You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(handler): ignore commands targeted at another bot
In groups, Telegram clients append @BotUsername to a command
("/subscribe@other_bot"). The Command predicate ignored the suffix entirely,
so a bot reacted to commands aimed at any bot. Match an untargeted command,
or one whose @username is this bot's own (case-insensitive); the router now
threads the bot's username onto the Update for the check.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments