Skip to content

Commit 328e89b

Browse files
committed
fix: forgot to update state.latency
1 parent 60d19d5 commit 328e89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/gateway/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __attrs_post_init__(self, *args, **kwargs) -> None:
5353
@property
5454
def latency(self) -> float:
5555
"""Returns the latency of the websocket connection."""
56-
return self.gateway.average_latency
56+
return self.gateway.latency
5757

5858
@property
5959
def average_latency(self) -> float:

0 commit comments

Comments
 (0)