remotes/1693045480750635534/spooky-22
Aevann1 2021-11-24 00:48:23 +02:00
parent 4d0e1eb094
commit e248889342
1 changed files with 2 additions and 1 deletions

View File

@ -561,7 +561,8 @@ def award_post(pid, v):
else: author.longpost = time.time() + 86400
send_notification(IDIO_ID, f"@{v.username} used {kind} award on {request.host_url}{post.shortlink}")
elif kind == "bird":
if author.longpost: return {"error": "This user is the under the effect of a conflicting award: Pizzashill award."}, 404
if author.longpost:
return {"error": "This user is the under the effect of a conflicting award: Pizzashill award."}, 404
if author.bird: author.bird += 86400
else: author.bird = time.time() + 86400
elif kind == "eye":