Skip to content

Commit

Permalink
Update owner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DikaArdnt committed Jul 16, 2023
1 parent 80d2fde commit 83fb5eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/main/owner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
}

Expand Down

0 comments on commit 83fb5eb

Please sign in to comment.