mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Add GUILD_SYNC support (user accounts are fixed now)
This commit is contained in:
@@ -624,6 +624,13 @@ class Guild {
|
||||
get owner() {
|
||||
return this.members.get(this.ownerID);
|
||||
}
|
||||
|
||||
sync() {
|
||||
return this.client.ws.send({
|
||||
op: 12,
|
||||
d: [this.id],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Guild;
|
||||
|
||||
Reference in New Issue
Block a user