mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +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);
|
||||
}
|
||||
|
||||
/**
|
||||
* If this guild is verified
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
get verified() {
|
||||
return this.features.includes('VERIFIED');
|
||||
}
|
||||
|
||||
/**
|
||||
* The URL to this guild's icon.
|
||||
* @param {Object} [options={}] Options for the icon url
|
||||
|
|
|
|||
Loading…
Reference in a new issue