Browse Source

Fix return type

pull/10287/head
imp 1 day ago
committed by GitHub
parent
commit
ee4f7ac6ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/http.py

2
discord/http.py

@ -412,7 +412,7 @@ class Ratelimit:
# 1. Completely ignore if the ratelimit window has expired; that data is useless # 1. Completely ignore if the ratelimit window has expired; that data is useless
if self.http.loop.time() >= reset_at: if self.http.loop.time() >= reset_at:
return return False
# 2. Always use the longest reset_at value # 2. Always use the longest reset_at value
update = False update = False

Loading…
Cancel
Save