Skip to content

Subissue: Consider triggering commands on type #177

Open
@dlqqq

Description

@dlqqq

Problem

Right now, a command is only triggered if the user selects the command from the chat commands menu by pressing Enter. However, this may be annoying to some users who want to type out the commands manually.

Proposed Solution

Consider triggering commands whenever the user types a new word. This can be done by providing a signal that emits the previous word whenever a new word is typed.

Additional context

If the user is pasting a large amount of content into the chat input, I don't think we should scan the entire pasted section for chat commands. This imposes the constraint that "chat commands must be typed in order to be triggered". I think this is very reasonable, but I'm open to feedback on this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions