mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +00:00
Update Guild.js (#2027)
This commit is contained in:
parent
d8850dbdd8
commit
69d84081d3
1 changed files with 9 additions and 0 deletions
|
|
@ -249,6 +249,15 @@ class Guild extends Base {
|
||||||
return new Date(this.joinedTimestamp);
|
return new Date(this.joinedTimestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If this guild is verified
|
||||||
|
* @type {boolean}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get verified() {
|
||||||
|
return this.features.includes('VERIFIED');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The URL to this guild's icon.
|
* The URL to this guild's icon.
|
||||||
* @param {Object} [options={}] Options for the icon url
|
* @param {Object} [options={}] Options for the icon url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue