1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Tolto osuplayers

This commit is contained in:
Steffo 2016-03-04 16:44:05 +01:00
parent daada533ff
commit 7d20240f9d

4
bot.py
View file

@ -305,8 +305,8 @@ while True:
"*Miss*: " + r['countmiss'], sentin, source)
else:
# TODO: Mettere a posto sto schifo.
if username.lower() in osuplayers:
r = osu.getuserrecent(osuplayers[username.lower()], 0)
if "osu" in royalgames[username.lower()]:
r = osu.getuserrecent(royalgames[username.lower()]['osu'], 0)
if "enabled_mods" in r:
mods = osu.listmods(r['enabled_mods'])
else: