This commit is contained in:
Travis CI 2016-12-29 19:00:52 +00:00
parent 552f61f433
commit b228e4722f
2 changed files with 11 additions and 3 deletions

View file

@ -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);

File diff suppressed because one or more lines are too long