From 157c1058819dc66db309e45f660770b62e1f8813 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Tue, 29 Sep 2026 08:11:34 +0200 Subject: [PATCH] fix: make `.toDiscoverableGuild()` work regardless of guild's flags --- src/database/entities/Guild.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/database/entities/Guild.ts b/src/database/entities/Guild.ts index 514fccca7..d325a1caf 100644 --- a/src/database/entities/Guild.ts +++ b/src/database/entities/Guild.ts @@ -317,10 +317,6 @@ export class Guild extends BaseClass { discovery_excluded: boolean = false; async toDiscoverableGuild(): Promise { - if (!this.features.includes("DISCOVERABLE")) { - return null; - } - return { id: this.id, name: this.name,