diff --git a/src/structures/Guild.js b/src/structures/Guild.js index f24f08e68..9de57145b 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -403,6 +403,15 @@ class Guild extends Base { return new Date(this.joinedTimestamp); } + /** + * If this guild is partnered + * @type {boolean} + * @readonly + */ + get partnered() { + return this.features.includes('PARTNERED'); + } + /** * If this guild is verified * @type {boolean} diff --git a/typings/index.d.ts b/typings/index.d.ts index f98eb2305..af2400847 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -708,6 +708,7 @@ declare module 'discord.js' { public readonly nameAcronym: string; public readonly owner: GuildMember | null; public ownerID: Snowflake; + public readonly partnered: boolean; public premiumSubscriptionCount: number | null; public premiumTier: PremiumTier; public presences: PresenceStore;