diff --git a/src/client/interfaces/Infraction.ts b/src/client/interfaces/Infraction.ts index a65320e..cc1801a 100644 --- a/src/client/interfaces/Infraction.ts +++ b/src/client/interfaces/Infraction.ts @@ -614,8 +614,8 @@ class Infraction // && Util.isUserStruct(this.#executor) && Util.isUserStruct(this.#target) ) { - const executor = this.#executor ? await this.#guild.members.fetch(this.#executor.id).catch(null) : null; - const target = this.#target ? await this.#guild.members.fetch(this.#target.id).catch(null) : null; + const executor = this.#executor ? await this.#guild.members.fetch(this.#executor.id).catch(() => null) : null; + const target = this.#target ? await this.#guild.members.fetch(this.#target.id).catch(() => null) : null; if (!executor) throw new Error('Could not get executor?'); if (!target)