def _clear_emoji(self, emoji: PartialEmoji) -> Optional[Reaction]:
    to_check = str(emoji)
    for (index, reaction) in enumerate(self.reactions):
        if (str(reaction.emoji) == to_check):
            break
    else:
        return
    del self.reactions[index]
    return reaction
def _clear_emoji(self, emoji: PartialEmoji) -> Optional[Reaction]:
    to_check = str(emoji)
    for (index, reaction) in enumerate(self.reactions):
        if (str(reaction.emoji) == to_check):
            break
    else:
        return
    del self.reactions[index]
    return reaction