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
{{ message }}
Repository navigation
ignore cross-chat commands in shared chat mode #97
Pretty much everything about shared chat mode just works with Robot, except that a command in any of the chats causes her to act in all of them. When processing a command, check room-id against source-room-id and bail if different. https://dev.twitch.tv/docs/chat/irc/#shared-chat is the general reference.
We can also do a similar check for random responses. As it is, her speech rate is effectively multiplied by the number of shared chats she's in.
bb36057 implements a fix, but it prevents all invocations from shared chats that don't have the bot. During shared chat, we'd like to suppress commands from other chats that we're also in, but still allow processing commands from chats we aren't in. That means deciding which chat it is processed in, though.
Also I forgot to apply the fix to copypasta detection.
Activity
robot: don't receive commands from shared chat
zephyrtronium commentedon Jan 25, 2025
bb36057 implements a fix, but it prevents all invocations from shared chats that don't have the bot. During shared chat, we'd like to suppress commands from other chats that we're also in, but still allow processing commands from chats we aren't in. That means deciding which chat it is processed in, though.
Also I forgot to apply the fix to copypasta detection.