def predicate(self: MessagePredicate, m: discord.Message) -> bool:
    if (not same_context(m)):
        return False
    role = self._find_role(guild, m.content)
    if (role is None):
        return False
    self.result = role
    return True
def predicate(self: MessagePredicate, m: discord.Message) -> bool:
    if (not same_context(m)):
        return False
    role = self._find_role(guild, m.content)
    if (role is None):
        return False
    self.result = role
    return True