mirror of
https://git.wownero.com/dsc/ircradio.git
synced 2024-08-15 01:03:15 +00:00
More than 10 karma allowed ;)
This commit is contained in:
parent
9a23d7e71f
commit
22441c932a
1 changed files with 2 additions and 3 deletions
|
@ -90,9 +90,8 @@ class Commands:
|
||||||
return await send_message(target, f"Nothing is playing?!")
|
return await send_message(target, f"Nothing is playing?!")
|
||||||
song = history[0]
|
song = history[0]
|
||||||
|
|
||||||
if song.karma <= 9:
|
song.karma += 1
|
||||||
song.karma += 1
|
song.save()
|
||||||
song.save()
|
|
||||||
|
|
||||||
msg = f"Rating for \"{song.title}\" is {song.karma}/10 .. PARTY ON!!!!"
|
msg = f"Rating for \"{song.title}\" is {song.karma}/10 .. PARTY ON!!!!"
|
||||||
await send_message(target=target, message=msg)
|
await send_message(target=target, message=msg)
|
||||||
|
|
Loading…
Reference in a new issue