def predicate(self: MessagePredicate, m: discord.Message) -> bool:
    if (not same_context(m)):
        return False
    try:
        number = float(m.content)
    except ValueError:
        return False
    else:
        if (number > 0):
            self.result = number
            return True
        else:
            return False
def predicate(self: MessagePredicate, m: discord.Message) -> bool:
    if (not same_context(m)):
        return False
    try:
        number = float(m.content)
    except ValueError:
        return False
    else:
        if (number > 0):
            self.result = number
            return True
        else:
            return False