From 3afbbf5e4700ad62069e6f61c9143249fc673e6b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 6 Apr 2020 21:49:50 -0400 Subject: [PATCH] Can't use %d in here --- discord/gateway.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/gateway.py b/discord/gateway.py index 4438df8d0..e5cbfe533 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()