brussell98 / node-osu

A library for interacting with the osu api.
MIT License
39 stars 11 forks source link

Beatmap stuff #4

Closed Kade-github closed 5 years ago

Kade-github commented 5 years ago

So im making a discord bot right, and i want the getUserBest part of the bot to show the beatmap title as well here is my code: https://hastebin.com/zipafiyiqo.js

Edit: I just want to know how i can implent that into my code. I've tried and failed.

brussell98 commented 5 years ago

There is a client option for that. See the completeScores option in https://github.com/brussell98/node-osu/blob/master/README.md#constructor This makes the response of score endpoints return an array of [score, beatmap], as seen in https://github.com/brussell98/node-osu/blob/master/README.md#getuserbestoptions

Kade-github commented 5 years ago

ahhh thanks so much