mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
credo sia cambiato qualcosa? boh
This commit is contained in:
parent
d3b30b7ada
commit
a177e01640
1 changed files with 4 additions and 2 deletions
6
bot.py
6
bot.py
|
@ -179,8 +179,8 @@ while True:
|
|||
"*Miss*: " + r['countmiss'], sby)
|
||||
else:
|
||||
# E' un po' una scorciatoia eh, peeerò...
|
||||
if str(unm).lower() in osunames:
|
||||
r = osu.getuserrecent(osunames[str(unm).lower()])
|
||||
if unm[1:].lower() in osunames:
|
||||
r = osu.getuserrecent(osunames[unm[1:].lower()], 0)
|
||||
telegram.sendmessage("*Osu!*\n" +
|
||||
"[Beatmap " + r['beatmap_id'] + "](" + 'https://osu.ppy.sh/b/' + r[
|
||||
'beatmap_id'] +
|
||||
|
@ -192,6 +192,8 @@ while True:
|
|||
"*Awesome*: " + r['countkatu'] + "\n" +
|
||||
"*Good*: " + r['countgeki'] + "\n" +
|
||||
"*Miss*: " + r['countmiss'], sby)
|
||||
else:
|
||||
print("nope")
|
||||
elif cmd[0].startswith('/roll'):
|
||||
if len(cmd) >= 2:
|
||||
m = int(cmd[1])
|
||||
|
|
Loading…
Reference in a new issue