diff --git a/src/client/components/wrappers/GuildWrapper.ts b/src/client/components/wrappers/GuildWrapper.ts index 4fb1dc2..10afe47 100644 --- a/src/client/components/wrappers/GuildWrapper.ts +++ b/src/client/components/wrappers/GuildWrapper.ts @@ -304,7 +304,7 @@ class GuildWrapper if (this.#permissions) return this.#permissions; - const perms = await this.#client.mongodb.permissions.findOne({ guildId: this.id }, { projection: { guildId: -1 } }); + const perms = await this.#client.mongodb.permissions.findOne({ guildId: this.id }, { projection: { guildId: 0 } }); if (perms) this.#permissions = perms; else