Skip to content

Commit

Permalink
Update GURU-nowa.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Guru322 authored May 31, 2023
1 parent f65f1bf commit d841e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GURU-nowa.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let handler = async (m, { conn, text, usedPrefix, command }) => {
} else {
array.push({ exists: false, jid: result })
}}
let txt = '*Not registered*\n\n' + array.filter(v => !v.exists).map(v => v.jid.split('@')[0]).join('\n')
let txt = 'Registered\n\n' + array.filter(v => v.exists).map(v => `• Link: wa.me/${v.jid.split('@')[0]}\n*• Bio:* ${v.status || 'descripiion'}\n*• set on:* ${formatDate(v.setAt)}`).join('\n\n') + '\n\n*Not registered*\n\n' + array.filter(v => !v.exists).map(v => v.jid.split('@')[0]).join('\n')
m.reply(txt)
}
handler.command = /^nowa$/i
Expand Down

0 comments on commit d841e5a

Please sign in to comment.