From 27a3fe1dbe2c704fbb152f0ec770734cd44673e2 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Mar 2024 00:11:58 -0400 Subject: [PATCH] Fix report --- commands/util-public/report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util-public/report.js b/commands/util-public/report.js index f996dad7..59d8fe17 100644 --- a/commands/util-public/report.js +++ b/commands/util-public/report.js @@ -53,9 +53,9 @@ module.exports = class ReportCommand extends Command { } async sendOwnerDM(embed) { - for (const owner of this.client.owners) { + for (const owner of this.client.owner) { try { - await owner.send({ embed }); + await this.client.users.cache.get(owner).send({ embed }); } catch { continue; }