feat: Guild#partnered (#3444)

* feat: Guild#partnered

* typings: added Guild#features

* fix: removed trailing space

* typings: made Guild#partnered readonly
This commit is contained in:
Carter
2019-09-10 07:47:13 -06:00
committed by Crawl
parent 8e0f525d91
commit 6f83e71555
2 changed files with 10 additions and 0 deletions

View File

@@ -403,6 +403,15 @@ class Guild extends Base {
return new Date(this.joinedTimestamp);
}
/**
* If this guild is partnered
* @type {boolean}
* @readonly
*/
get partnered() {
return this.features.includes('PARTNERED');
}
/**
* If this guild is verified
* @type {boolean}