module.exports = zahra = async (zahraaa, message) => { try { let { body, type, id, from, to, t, sender, isGroupMsg, chat, caption, isMedia, mimetype, quotedMsg, quotedMsgObj, mentionedJidList, author } = message if (sender && sender.isMe) from = to const { name, formattedTitle } = chat let { pushname, verifiedName } = sender const pushname = pushname || verifiedName const commands = caption || body || '' const command = commands.toLowerCase().split(' ')[0] || '' const args = commands.split(' ') const msgs = (message) => { if (command.startsWith('#')) { if (message.length >= 10){ return `${message.substr(0, 15)}` }else{ return `${message}` } } } const menulis = { magernulissatu: 'Harap Tunggu, Bot Sedang Menulis Buku 1!~' } const time = moment(t * 1000).format('DD/MM HH:mm:ss') const botNumber = await zahraaa.getHostNumber() const groupId = isGroupMsg ? chat.groupMetadata.id : '' const groupAdmins = isGroupMsg ? await zahraaa.getGroupAdmins(groupId) : ''