From fa753896579c1329a8ac4f192524f974f97ea44f Mon Sep 17 00:00:00 2001 From: olijeffers0n <69084614+olijeffers0n@users.noreply.github.com> Date: Fri, 3 Dec 2021 17:28:51 +0000 Subject: [PATCH] Add missing await clauses --- rustplus/api/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustplus/api/api.py b/rustplus/api/api.py index 6c3cf92..4a823d7 100644 --- a/rustplus/api/api.py +++ b/rustplus/api/api.py @@ -347,7 +347,7 @@ async def getTime(self) -> RustTime: Gets the current in-game time """ - self.__handle_ratelimit() + await self.__handle_ratelimit() return await self.__getTime() async def getInfo(self) -> RustInfo: @@ -355,7 +355,7 @@ async def getInfo(self) -> RustInfo: Gets information on the Rust Server """ - self.__handle_ratelimit() + await self.__handle_ratelimit() return await self.__getInfo() async def getRawMapData(self) -> RustMap: