More than 10 karma allowed ;)

This commit is contained in:
dsc 2023-08-31 04:06:03 +03:00
parent 9a23d7e71f
commit 22441c932a
1 changed files with 2 additions and 3 deletions

View File

@ -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)