mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Fix report
This commit is contained in:
@@ -53,9 +53,9 @@ module.exports = class ReportCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async sendOwnerDM(embed) {
|
async sendOwnerDM(embed) {
|
||||||
for (const owner of this.client.owners) {
|
for (const owner of this.client.owner) {
|
||||||
try {
|
try {
|
||||||
await owner.send({ embed });
|
await this.client.users.cache.get(owner).send({ embed });
|
||||||
} catch {
|
} catch {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user