Skip to content

Commit d7e63ce

Browse files
authored
fix(ClientUser): Remove token assignment (#10953)
fix(ClientUser): remove token assignment
1 parent 43160a6 commit d7e63ce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/discord.js/src/structures/ClientUser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ class ClientUser extends User {
7070
},
7171
});
7272

73-
this.client.token = data.token;
74-
this.client.rest.setToken(data.token);
7573
const { updated } = this.client.actions.UserUpdate.handle(data);
7674
return updated ?? this;
7775
}

0 commit comments

Comments
 (0)