mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-09-22 19:22:01 +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.
|
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.shards: Dict[int, Shard] = {}
|
||||||
self.http = HTTPClient(token)
|
self.http: HTTPClient = HTTPClient(token)
|
||||||
self._events = {}
|
self._events: Dict[str, Coro] = {}
|
||||||
|
|
||||||
|
# ToDo: Transfer guilds in to the cache manager
|
||||||
self.guilds = []
|
self.guilds = []
|
||||||
self.user = None
|
self.user = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue