From 513fdabd19c75327d3bc7262e0bb237bdc690b59 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Sat, 3 Sep 2016 17:58:47 +0100 Subject: [PATCH] Add GUILD_SYNC support (user accounts are fixed now) --- src/structures/Guild.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 458539ffd..5c2e98117 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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;