• Get complex data about the votes of a beatmapset's discussions or/and received/given by a specific user!

    Parameters

    • this: API
    • Optionalfrom: {
          discussion?: number | Discussion;
          vote_giver?: number | User;
          vote_receiver?: number | User;
      }

      The discussion with the votes, the user who voted, the user who's gotten the votes...

      • Optionaldiscussion?: number | Discussion
      • Optionalvote_giver?: number | User
      • Optionalvote_receiver?: number | User
    • Optionalscore: 1 | -1

      An upvote (1) or a downvote (-1)

    • Optionalconfig: Beatmapset.Config

      How many results maximum, how to sort them, which page of those, maybe a cursor_string...

    Returns Promise<{
        cursor_string: string | null;
        discussions: Discussion[];
        users: WithGroups[];
        votes: Vote[];
    }>

    Relevant votes and info about them

    (2024-03-11) For months now, the API's documentation says the response is likely to change, so beware