Skip to content

ignore cross-chat commands in shared chat mode #97

Open

Description

@zephyrtronium

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.

Activity

  1. zephyrtronium commented on Jan 25, 2025

    @zephyrtronium
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions