Araeynn commited on
Commit
8aef5a5
·
verified ·
1 Parent(s): 463d962

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -460,11 +460,11 @@ async def on_message(message):
460
  er = 0
461
  y = round(time.time()) - int(er)
462
  print(y)
463
- if str(user).lower() not in userTimes.keys():
464
  usrTime = 5
465
  else:
466
  usrTime = userTimes[str(user).lower()]
467
- if user.id in bannedUsers:
468
  return 0
469
  if y < usrTime:
470
  return 0
 
460
  er = 0
461
  y = round(time.time()) - int(er)
462
  print(y)
463
+ if str(message.author).lower() not in userTimes.keys():
464
  usrTime = 5
465
  else:
466
  usrTime = userTimes[str(user).lower()]
467
+ if message.author.id in bannedUsers:
468
  return 0
469
  if y < usrTime:
470
  return 0