MCPcopy
hub / github.com/Rapptz/discord.py / reset

Method reset

discord/http.py:391–395  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

389 )
390
391 def reset(self):
392 self.remaining = self.limit - self.outgoing
393 self.expires = None
394 self.reset_after = 0.0
395 self.dirty = False
396
397 def update(self, response: aiohttp.ClientResponse, *, use_clock: bool = False) -> None:
398 headers = response.headers

Callers 4

_refreshMethod · 0.95
acquireMethod · 0.95
requestMethod · 0.45
create_guild_stickerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected