mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix(ClientUser): Remove token assignment (#10953)
fix(ClientUser): remove token assignment
This commit is contained in:
@@ -70,8 +70,6 @@ class ClientUser extends User {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
this.client.token = data.token;
|
|
||||||
this.client.rest.setToken(data.token);
|
|
||||||
const { updated } = this.client.actions.UserUpdate.handle(data);
|
const { updated } = this.client.actions.UserUpdate.handle(data);
|
||||||
return updated ?? this;
|
return updated ?? this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user