@classmethod
def with_emojis(cls, emojis: Sequence[Union[(str, discord.Emoji, discord.PartialEmoji)]], message: Optional[discord.Message]=None, user: Optional[discord.abc.User]=None) -> 'ReactionPredicate':
    same_context = cls.same_context(message, user)

    def predicate(self: ReactionPredicate, r: discord.Reaction, u: discord.abc.User):
        if (not same_context(r, u)):
            return False
        try:
            self.result = emojis.index(r.emoji)
        except ValueError:
            return False
        else:
            return True
    return cls(predicate)
@classmethod
def with_emojis(cls, emojis: Sequence[Union[(str, discord.Emoji, discord.PartialEmoji)]], message: Optional[discord.Message]=None, user: Optional[discord.abc.User]=None) -> 'ReactionPredicate':
    same_context = cls.same_context(message, user)

    def predicate(self: ReactionPredicate, r: discord.Reaction, u: discord.abc.User):
        if (not same_context(r, u)):
            return False
        try:
            self.result = emojis.index(r.emoji)
        except ValueError:
            return False
        else:
            return True
    return cls(predicate)