mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13: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);
|
||||
}
|
||||
|
||||
/**
|
||||
* If this guild is verified
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
get verified() {
|
||||
return this.features.includes('VERIFIED');
|
||||
}
|
||||
|
||||
/**
|
||||
* The URL to this guild's icon
|
||||
* @type {?string}
|
||||
|
||||
Reference in New Issue
Block a user