mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +03:00
types
This commit is contained in:
parent
af68f00a82
commit
9036393198
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue