mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Add GUILD_SYNC support (user accounts are fixed now)
This commit is contained in:
parent
02324fbecb
commit
513fdabd19
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue