Skip to content

Commit

Permalink
𝙇𝙤𝙡𝙞𝘽𝙤𝙩-𝙈𝘿
Browse files Browse the repository at this point in the history
  • Loading branch information
elrebelde21 authored Sep 20, 2023
1 parent 9690f51 commit e846a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ let me = PhoneNumber('+' + (conn.user?.jid).replace('@s.whatsapp.net', '')).getN

console.log(`${chalk.redBright('%s')} ${chalk.black(chalk.bgYellow('%s'))} ${chalk.black(chalk.bgGreen('%s'))} ${chalk.magenta('%s [%s %sB]')}
${chalk.green('%s')} ${chalk.yellow('%s%s')} ${chalk.blueBright('-')} ${chalk.green('%s')} ${chalk.cyanBright(chalk.blueBright('%s'))}`.trim(),

me + ' ~' + conn.user.name + `${conn.user.jid == global.conn.user.jid ? '' : ' (𝗦𝗨𝗕 𝗕𝗢𝗧)'}`,
me + ' ~' + conn.user.name + `${conn.user.jid == global.conn.user.jid ? '' : ' (𝗦𝗨𝗕 𝗕𝗢𝗧)'}`,
(m.messageTimestamp ? new Date(1000 * (m.messageTimestamp.low || m.messageTimestamp)) : new Date).toTimeString(),
m.messageStubType ? WAMessageStubType[m.messageStubType] : '',
filesize,
Expand Down
7 changes: 2 additions & 5 deletions lib/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -1831,11 +1831,8 @@ export function protoType() {
const hours = Math.floor((this / (60 * 60 * 1000)) % 24)
const days = Math.floor((this / (24 * 60 * 60 * 1000)))
return (
(days ? `${days} ${lenguajeGB.smsAfkResultTime[0]}` : '') +
(hours ? `${hours} ${lenguajeGB.smsAfkResultTime[1]}` : '') +
(minutes ? `${minutes} ${lenguajeGB.smsAfkResultTime[2]}` : '') +
(seconds ? `${seconds} ${lenguajeGB.smsAfkResultTime[3]}` : '')
).trim()
(days ? `${days} ${lenguajeGB.smsAfkResultTime[0]} ` : '') + (hours ? `${hours} ${lenguajeGB.smsAfkResultTime[1]} ` : '') +
(minutes ? `${minutes} ${lenguajeGB.smsAfkResultTime[2]} ` : '') + (seconds ? `${seconds} ${lenguajeGB.smsAfkResultTime[3]}` : '')).trim()
}
Number.prototype.getRandom = String.prototype.getRandom = Array.prototype.getRandom = getRandom
}
Expand Down

0 comments on commit e846a29

Please sign in to comment.