1
0
Fork 0
mirror of synced 2024-09-28 07:21:16 +12:00

Added a message in the beginning of looking up the Osu stats, as sometimes it takes a while to respond

This commit is contained in:
Phxntxm 2016-10-29 22:41:12 -05:00
parent d16d7dcb4e
commit fce156e93b

View file

@ -70,6 +70,7 @@ class Osu:
If you have only numbers in your username, you will need to provide your ID
This will by default return the top song, provide song [up to 100] to get that song, in order from best to worst"""
await self.bot.say("Looking up your Osu information...")
# To make this easy for the user, it's indexed starting at 1, so lets subtract by 1
song -= 1
# Make sure the song is not negative however, if so set to 0
@ -140,6 +141,7 @@ class Osu:
However, if your username is only numbers, this will confuse the API
If you have only numbers in your username, you will need to provide your ID"""
await self.bot.say("Looking up your Osu information...")
# A list of the possible values we'll receive, that we want to display
wanted_info = ['username', 'playcount', 'ranked_score', 'pp_rank', 'level', 'pp_country_rank',
'accuracy', 'country', 'pp_country_rank', 'count_rank_s', 'count_rank_a']