mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03: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() {
|
get owner() {
|
||||||
return this.members.get(this.ownerID);
|
return this.members.get(this.ownerID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sync() {
|
||||||
|
return this.client.ws.send({
|
||||||
|
op: 12,
|
||||||
|
d: [this.id],
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Guild;
|
module.exports = Guild;
|
||||||
|
|||||||
Reference in New Issue
Block a user