From 9036393198d942327c7d3d1d9d9ad229ddc68d0b Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Fri, 18 Mar 2022 14:31:34 +0300 Subject: [PATCH] types --- melisa/client.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/melisa/client.py b/melisa/client.py index 1fba0b6..4ce050f 100644 --- a/melisa/client.py +++ b/melisa/client.py @@ -37,11 +37,12 @@ class Client: Bot's shards. """ - def __init__(self, token, intents, *, activity=None, status: str = None): + def __init__(self, token: str, intents, *, activity=None, status: str = None): self.shards: Dict[int, Shard] = {} - self.http = HTTPClient(token) - self._events = {} + self.http: HTTPClient = HTTPClient(token) + self._events: Dict[str, Coro] = {} + # ToDo: Transfer guilds in to the cache manager self.guilds = [] self.user = None