Document Guild.ownerID

This commit is contained in:
Schuyler Cebulskie
2016-09-19 01:38:18 -04:00
parent 3fcc5183dc
commit 77e171e599
3 changed files with 9 additions and 3 deletions

View File

@@ -147,7 +147,13 @@ class Guild {
for (const guildUser of data.members) this._addMember(guildUser, false);
}
if (data.owner_id) this.ownerID = data.owner_id;
if (data.owner_id) {
/**
* The user ID of this guild's owner.
* @type {string}
*/
this.ownerID = data.owner_id;
}
if (data.channels) {
this.channels.clear();