MaxOhn / Bathbot

Discord bot for osu!
ISC License
77 stars 16 forks source link

Add filter to exclude convert scores (Mania, Taiko, Catch) #7

Open trollocat opened 3 years ago

trollocat commented 3 years ago

Add a !c modifier to some commands to exclude scores on convert maps (maps that are from osu!standard and converted to the specified gamemode)

You can get countless #1 on convert leaderboards because nobody plays them, so it would be way better to compare some of the data, like the ones involving leaderboards, without converts (this applies to the three gamemodes)

It could be added to the following commands: osustatsglobals, osustatscount, osustatslist, mapper and topif

MaxOhn commented 3 years ago

Oboi how did I not notice this one, sorry woops.

So for osustatsglobals, osustatscount, and osustatslist I pull the data directly from https://osustats.ppy.sh. Unfortunately, their API currently doesn't provide a way to exclude converts and since their data comes paginated, I can't reasonably filter them myself :( I'll message the creators and ask about it but no promises there.

For mapper and topif it's certainly doable. I'll put it on the todo list and update this issue on it.

trollocat commented 3 years ago

sorry i don't know why i closed it XD