mirror of
https://github.com/sanderfoobar/ircradio.git
synced 2024-11-22 03:49:27 +01:00
More than 10 karma allowed ;)
This commit is contained in:
parent
9a23d7e71f
commit
22441c932a
@ -90,9 +90,8 @@ class Commands:
|
||||
return await send_message(target, f"Nothing is playing?!")
|
||||
song = history[0]
|
||||
|
||||
if song.karma <= 9:
|
||||
song.karma += 1
|
||||
song.save()
|
||||
song.karma += 1
|
||||
song.save()
|
||||
|
||||
msg = f"Rating for \"{song.title}\" is {song.karma}/10 .. PARTY ON!!!!"
|
||||
await send_message(target=target, message=msg)
|
||||
|
Loading…
Reference in New Issue
Block a user