mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Remove all data stores! Move to maps
This commit is contained in:
@@ -27,7 +27,7 @@ class ClientManager {
|
||||
* @returns {null}
|
||||
*/
|
||||
connectToWebSocket(token, resolve, reject) {
|
||||
this.client.store.token = token;
|
||||
this.client.token = token;
|
||||
this.client.rest.methods.getGateway()
|
||||
.then(gateway => {
|
||||
this.client.ws.connect(gateway);
|
||||
|
||||
Reference in New Issue
Block a user