Fix report

This commit is contained in:
Dragon Fire
2024-03-20 00:11:58 -04:00
parent 47f6333c60
commit 27a3fe1dbe
+2 -2
View File
@@ -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;
}