diff options
| author | Rapptz <[email protected]> | 2020-04-06 21:49:50 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-07-25 09:59:37 -0400 |
| commit | 3afbbf5e4700ad62069e6f61c9143249fc673e6b (patch) | |
| tree | 5ccbd99d9af853094e36cd318b0f528764fececf /discord/gateway.py | |
| parent | Add shard ID to keep alive logger messages (diff) | |
| download | discord.py-3afbbf5e4700ad62069e6f61c9143249fc673e6b.tar.xz discord.py-3afbbf5e4700ad62069e6f61c9143249fc673e6b.zip | |
Can't use %d in here
Diffstat (limited to 'discord/gateway.py')
| -rw-r--r-- | discord/gateway.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index 4438df8d..e5cbfe53 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -73,9 +73,9 @@ class KeepAliveHandler(threading.Thread): self.interval = interval self.daemon = True self.shard_id = shard_id - self.msg = 'Keeping shard ID %d websocket alive with sequence %s.' - self.block_msg = 'Shard ID %d heartbeat blocked for more than %s seconds.' - self.behind_msg = 'Can\'t keep up, shard ID %d websocket is %.1fs behind.' + self.msg = 'Keeping shard ID %s websocket alive with sequence %s.' + self.block_msg = 'Shard ID %s heartbeat blocked for more than %s seconds.' + self.behind_msg = 'Can\'t keep up, shard ID %s websocket is %.1fs behind.' self._stop_ev = threading.Event() self._last_ack = time.perf_counter() self._last_send = time.perf_counter() |