mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix report
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user