mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 06:31:20 +00:00
Webpack build for branch master: 5ce0def9d0
This commit is contained in:
parent
00bee5d9c5
commit
424fc775db
2 changed files with 2 additions and 3 deletions
|
|
@ -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',
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue