mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 15:11:32 +00:00
Webpack build: 22b1c425ac
This commit is contained in:
parent
552f61f433
commit
b228e4722f
2 changed files with 11 additions and 3 deletions
|
|
@ -8482,6 +8482,13 @@ class ClientUser extends User {
|
|||
* @type {Collection<string, string>}
|
||||
*/
|
||||
this.notes = new Collection();
|
||||
|
||||
/**
|
||||
* Discord client settings, such as guild positions
|
||||
* <warn>This is only filled when using a user account.</warn>
|
||||
* @type {Object}
|
||||
*/
|
||||
this.settings = {};
|
||||
}
|
||||
|
||||
edit(data) {
|
||||
|
|
@ -22596,6 +22603,7 @@ class ReadyHandler extends AbstractHandler {
|
|||
client.ws.heartbeat();
|
||||
|
||||
const clientUser = new ClientUser(client, data.user);
|
||||
clientUser.settings = data.user_settings;
|
||||
client.user = clientUser;
|
||||
client.readyAt = new Date();
|
||||
client.users.set(clientUser.id, clientUser);
|
||||
|
|
|
|||
6
discord.indev.min.js
vendored
6
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue