Webpack build for branch master: 5ce0def9d0

This commit is contained in:
Travis CI 2017-08-17 16:31:25 +00:00
parent 00bee5d9c5
commit 424fc775db
2 changed files with 2 additions and 3 deletions

View file

@ -23644,6 +23644,7 @@ class ClientDataManager {
const already = this.client.guilds.has(data.id);
const guild = new Guild(this.client, data);
this.client.guilds.set(guild.id, guild);
if (!this.client.user.bot && this.client.options.sync) this.client.syncGuilds([guild]);
if (this.pastReady && !already) {
/**
* Emitted whenever the client joins a guild.
@ -24301,8 +24302,6 @@ class ReadyHandler extends AbstractHandler {
}
}
if (!client.user.bot && client.options.sync) client.setInterval(client.syncGuilds.bind(client), 30000);
if (!client.users.has('1')) {
client.dataManager.newUser({
id: '1',

File diff suppressed because one or more lines are too long