mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
feat(Guild): add verified getter (#2027)
This commit is contained in:
@@ -266,6 +266,15 @@ class Guild {
|
|||||||
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
|
||||||
* @type {?string}
|
* @type {?string}
|
||||||
|
|||||||
Reference in New Issue
Block a user