mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
feat(Guild): add verified getter (#2027)
This commit is contained in:
parent
96b115ef7b
commit
9169958264
1 changed files with 9 additions and 0 deletions
|
|
@ -266,6 +266,15 @@ class Guild {
|
|||
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
|
||||
* @type {?string}
|
||||
|
|
|
|||
Loading…
Reference in a new issue