aboutsummaryrefslogtreecommitdiff
path: root/discord/gateway.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-04-06 21:49:50 -0400
committerRapptz <[email protected]>2020-07-25 09:59:37 -0400
commit3afbbf5e4700ad62069e6f61c9143249fc673e6b (patch)
tree5ccbd99d9af853094e36cd318b0f528764fececf /discord/gateway.py
parentAdd shard ID to keep alive logger messages (diff)
downloaddiscord.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.py6
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()