discord: implement force proxied emoji (resolves #11)#24
Open
Lunaphied wants to merge 2 commits intoQyriad:mainfrom
Open
discord: implement force proxied emoji (resolves #11)#24Lunaphied wants to merge 2 commits intoQyriad:mainfrom
Lunaphied wants to merge 2 commits intoQyriad:mainfrom
Conversation
529d2f9 to
8b38093
Compare
02bb778 to
5b5262e
Compare
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.
5b5262e to
4547b6a
Compare
Qyriad
requested changes
Jul 10, 2024
| self._cached_status = status | ||
|
|
||
|
|
||
| # Needs to be raw because message might not be in the message cache. |
Owner
There was a problem hiding this comment.
Can you not use self._refetch_message()?
Collaborator
Author
There was a problem hiding this comment.
This is an event handler, it simply won't be called at all (we tried it), personally it seems like a bit of an odd choice but that's a discord.py choice
Co-authored-by: Qyriad <qyriad@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new feature to Séance where reference user reactions of emoji can automatically be proxied. Any emoji provided by the
proxied-emojiconfig 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.