def _add_reaction(self, data, emoji, user_id) -> Reaction:
    reaction = utils.find((lambda r: (r.emoji == emoji)), self.reactions)
    is_me = data['me'] = (user_id == self._state.self_id)
    if (reaction is None):
        reaction = Reaction(message=self, data=data, emoji=emoji)
        self.reactions.append(reaction)
    else:
        reaction.count += 1
        if is_me:
            reaction.me = is_me
    return reaction
def _add_reaction(self, data, emoji, user_id) -> Reaction:
    reaction = utils.find((lambda r: (r.emoji == emoji)), self.reactions)
    is_me = data['me'] = (user_id == self._state.self_id)
    if (reaction is None):
        reaction = Reaction(message=self, data=data, emoji=emoji)
        self.reactions.append(reaction)
    else:
        reaction.count += 1
        if is_me:
            reaction.me = is_me
    return reaction