Ignore HEARTBEAT_ACK for now to disable the noisy logging.
This commit is contained in:
		| @@ -300,6 +300,9 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): | ||||
|             yield from self.close() | ||||
|             raise ReconnectWebSocket() | ||||
|  | ||||
|         if op == self.HEARTBEAT_ACK: | ||||
|             return # disable noisy logging for now | ||||
|  | ||||
|         if op == self.HELLO: | ||||
|             interval = data['heartbeat_interval'] / 1000.0 | ||||
|             self._keep_alive = KeepAliveHandler(ws=self, interval=interval) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user