Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typing proxy feature #26

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Lunaphied
Copy link
Collaborator

This will support a new option send-typing which will proxy typing events when the reference user starts typing.

This is based on feature/reproxy so it will need rebasing and a merge following that.

This adds a new feature to Séance where reference user reactions of
emoji can automatically be proxied. Any emoji provided by the
`proxied-emoji` config value will be proxied.

This removes the ability of the reference user to react with those emoji
and is primarily assumed to be used for things like custom heart
reactions that are unique per-user, making their usage easier.

The valid config value is a comma or whitespace separated list of
unicode emoji and Discord custom emoji IDs that should be handled this
way. `*` may also be used to indicate that *all* reactions by the
reference user should be proxied.

This commit also revises the README to more clearly list the available
configuration options.
This adds support for a `!reproxy` command which makes it easy to
"reproxy" messages from a set of provided users and proxy it from
ourselves.

This feature is dangerous, and requires configuring a
`valid-reproxy-targets` list to specify user IDs that can be authors of
the message targeted to be reproxied. The reference user is always on
this list however.

Because of the danger for collision, if a command prefix is set it is
required to be used with the command to avoid multiple Séance instances
competing for a reproxy.
If the `send-typing` option is set, Sèance will send typing events on
the proxies behalf when the reference user is typing.
@Lunaphied Lunaphied requested a review from Qyriad July 11, 2024 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant