def get_user_rank(self, userID: int) -> int:
    """
    Return user rank
    """
    rows = self.cursor.execute(
        "SELECT rank FROM reputation WHERE id = ?", (userID,), ).fetchall()
    if not rows:
        return 1
    return rows[0][0]