Skip to content

Commit

Permalink
Logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dssecret committed Dec 26, 2023
1 parent b67fdbe commit a09936a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skynet/skyutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def check_invoker_exists(interaction: dict):
}

if (
invoker is not None and (datetime.datetime.utcnow() - invoker.last_refresh).total_seconds() < 14400
invoker is not None and (datetime.datetime.utcnow() - invoker.last_refresh).total_seconds() > 14400
): # Four hours
try:
update_user(key=random.choice(admin_keys), discordid=discord_id)
Expand Down

0 comments on commit a09936a

Please sign in to comment.