From 83fb5eb153e96cd33821f7c4ce1b1e0318cd03fa Mon Sep 17 00:00:00 2001 From: Dika Ardnt <88322331+DikaArdnt@users.noreply.github.com> Date: Sun, 16 Jul 2023 21:44:00 +0700 Subject: [PATCH] Update owner.js --- src/commands/main/owner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/main/owner.js b/src/commands/main/owner.js index a76d124..c87cc32 100644 --- a/src/commands/main/owner.js +++ b/src/commands/main/owner.js @@ -2,9 +2,9 @@ export default { name: 'owner', aliases: ['develer'], type: 'main', - execute: async({ hisoka, m }) => { + execute: async({ hisoka, m, config }) => { let contacts = [] - for (const contact of global.owner) { + for (const contact of config.options.owner) { contacts.push(await hisoka.getContactById(contact + '@c.us')) }