From 69d84081d327382a35ed22dd52cc5ceb3e84fe96 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Thu, 19 Oct 2017 00:02:32 -0500 Subject: [PATCH] Update Guild.js (#2027) --- src/structures/Guild.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 1b9c90ada..d96329be0 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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