Add GUILD_SYNC support (user accounts are fixed now)

This commit is contained in:
Amish Shah
2016-09-03 17:58:47 +01:00
parent 02324fbecb
commit 513fdabd19

View File

@@ -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;