How to use _reply method in Cypress

Best JavaScript code snippet using cypress

help.js

Source:help.js Github

copy

Full Screen

12exports.menu = (dateIslamic, thisHit, listcmdblock, explain, kyun, process, timeWit, timeWita, timeWib, thePrefix, fs, isPremium, getLimit, limitCount, getBalance, senderNumber, blocked, ban, listerror, user, autosticker, forwarding, fake,autoread, autovn, typing,antibugtroli,Toxic, isAntihidetag, isKickarea, isAntiLink, AntiVirtex, isAntiviewonce, hitnya, pushname, ucapanWaktu, prefix, publik, week, weton, calender) => {3return`*${fake}*4${week}, ${calender} 56⬡ Nama : ${pushname}7⬡ Status : ${isPremium ? '🎫 Premium':'Free'}8⬡ Limit : ${isPremium ? 'Unlimited' : `${getLimit(senderNumber, limitCount, user)}/${limitCount}`}9⬡ Saldo : Rp ${getBalance(senderNumber, user).toLocaleString()}10⬡ Prefix :「 ${thePrefix} 」11⬡ Mode : ${publik ? "Public" : "Self"}12⬡ Active : ${kyun(process.uptime())}13⬡ Time : ${timeWib} WIB14⬡ Time : ${timeWit} WIT 15⬡ Time : ${timeWita} WITA16⬡ Islamic : ${dateIslamic}17⬡ Hit Today : ${thisHit.toLocaleString()}18⬡ Total User : ${JSON.parse(fs.readFileSync('./database/user.json')).length.toLocaleString()}19⬡ Total Error : ${JSON.parse(fs.readFileSync('./database/listerror.json')).length}20⬡ User Banned : ${JSON.parse(fs.readFileSync('./database/banned.json')).length}21⬡ User Blocked : ${JSON.parse(fs.readFileSync('./database/userblocked.json')).length} 22⬡ Cmd Blocked : ${JSON.parse(fs.readFileSync('./database/blockcmd.json')).length} 2324 *]───── COMMAND ─────[*25 ▾26 ‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎27*╭─❲ GROUP ❳*28*│*29*│▸* ${prefix}antilink ${explain ? "[ _On/Off_ ]":""}30*│▸* ${prefix}antilinkgc ${explain ? "[ _On/Off_ ]":""}31*│▸* ${prefix}antivirtex ${explain ? "[ _On/Off_ ]":""}32*│▸* ${prefix}antitroli ${explain ? "[ _On/Off_ ]":""}33*│▸* ${prefix}antihidetag ${explain ? "[ _On/Off_ ]":""}34*│▸* ${prefix}antibadword ${explain ? "[ _On/Off_ ]":""}35*│▸* ${prefix}antivo ${explain ? "[ _On/Off_ ]":""}36*│▸* ${prefix}antidelete ${explain ? "[ _On/Off_ ]":""}37*│▸* ${prefix}addbadword ${explain ? "[ _Teks_ ]":""}38*│▸* ${prefix}delbadword ${explain ? "[ _Teks_ ]":""}39*│▸* ${prefix}add ${explain ? "[ _Reply/Nomor_ ]":""}40*│▸* ${prefix}kick ${explain ? "[ _Reply/Tag/Nomor_ ]":""}41*│▸* ${prefix}kickme42*│▸* ${prefix}kicktime ${explain ? "[ _Reply/Tag_ ]":""}43*│▸* ${prefix}opentime ${explain ? "[ _1 menit/1 jam_ ]":""}44*│▸* ${prefix}closetime ${explain ? "[ _1 menit/1 jam_ ]":""}45*│▸* ${prefix}welcome ${explain ? "[ _On/Off_ ]":""}46*│▸* ${prefix}linkgc47*│▸* ${prefix}infogc48*│▸* ${prefix}gc ${explain ? "[ _Open/Close/Revoke_ ]":""}49*│▸* ${prefix}setdesc ${explain ? "[ _Query_ ]":""}50*│▸* ${prefix}setnamegc ${explain ? "[ _Query_ ]":""}51*│▸* ${prefix}infoall ${explain ? "[ _Query_ ]":""}52*│▸* ${prefix}sider ${explain ? "[ _reply chat bot_ ]":""}53*│▸* ${prefix}unbanchat54*│▸* ${prefix}promote ${explain ? "[ _Reply/Tag/Nomor_ ]":""}55*│▸* ${prefix}demote ${explain ? "[ _Reply/Tag/Nomor_ ]":""}56*│▸* ${prefix}revoke57*│▸* ${prefix}getppgc58*│▸* ${prefix}getbio ${explain ? "[ _Reply_ ]":""}59*│▸* ${prefix}getpp ${explain ? "[ _Reply_ ]":""}60*│▸* ${prefix}ban ${explain ? "[ _Reply/Tag_ ]":""}61*│▸* ${prefix}unban ${explain ? "[ _Reply/Tag_ ]":""}62*│▸* ${prefix}listban63*│▸* ${prefix}ceksewa 64*│▸* ${prefix}voting ${explain ? "[ _Tag|Alasan|1_ ]":""}65*│▸* ${prefix}delvote66*│▸* ${prefix}totalpesan67*│▸* vote68*│▸* devote69*│*70*╰────────────⦁*7172*╭─❲ ON/OFF SYSTEM ❳* 73*│*74*│* ▸ Antibadword : ${Toxic ? 'ON ✅' : 'OFF ❌'}75*│* ▸ Antihidetag : ${isAntihidetag ? 'Aktif' : 'OFF'}76*│* ▸ Antiasing : ${isKickarea ? 'ON ✅' : 'OFF ❌'}77*│* ▸ Antilink : ${isAntiLink ? 'ON ✅' : 'OFF ❌'}78*│* ▸ Antivirtex : ${AntiVirtex ? 'ON ✅' : 'OFF ❌'}79*│* ▸ Antivo : ${isAntiviewonce ? 'ON ✅' : 'OFF ❌'}80*│* ▸ Autotyping : ${typing ? 'ON ✅' : 'OFF ❌'}81*│* ▸ Autovn : ${autovn ? 'ON ✅' : 'OFF ❌'}82*│* ▸ Autosticker : ${autosticker ? 'ON ✅' : 'OFF ❌'}83*│* ▸ Autoread : ${autoread ? 'ON ✅' : 'OFF ❌'}84*│* ▸ Forward : ${forwarding ? 'ON ✅' : 'OFF ❌'}85*│*86*╰────────────⦁*8788*╭─❲ REPORT BUG ❳*89*│* 90*│▸* ${prefix}reportbug ${explain ? "[ _Teks / Image_ ]":"[ _Teks / Foto_ ]"} 91*│*92*╰────────────⦁*9394*╭─❲ RANDOM ❳*95*│* 96*│▸* ${prefix}loli 97*│▸* ${prefix}cosplay 98*│▸* ${prefix}wallml 99*│▸* ${prefix}katailham100*│▸* ${prefix}bucin101*│▸* ${prefix}anime102*│▸* ${prefix}memeindo103*│*104*╰────────────⦁*105106*╭─❲ INFO ❳* 107*│*108*│▸* ${prefix}infogempa109*│▸* ${prefix}gempanow110*│▸* ${prefix}weather ${explain ? "[ _Nama Negara_ ]":""} 111*│▸* ${prefix}cuaca112*│*113*╰────────────⦁*114115*╭─❲ ANONYMOUS CHAT ❳* 116*│*117*│▸* ${prefix}anonymous118*│▸* ${prefix}start119*│▸* ${prefix}stop120*│▸* ${prefix}next121*│▸* ${prefix}sendkontak122*│*123*╰────────────⦁*124125*╭─❲ NSFW ❳* 126*│*127*│▸* ${prefix}nsfwmenu 128*│*129*╰────────────⦁*130131132*╭─❲ GAME ❳*133*│*134*│▸* ${prefix}tebakbendera 135*│▸* ${prefix}tebakgambar 136*│▸* ${prefix}tebakanime 137*│▸* ${prefix}caklontong 138*│▸* ${prefix}family100 139*│▸* ${prefix}tebakkata 140*│▸* ${prefix}tebaklirik 141*│▸* ${prefix}siapaaku 142*│▸* ${prefix}math143*│*144*╰────────────⦁*145146*╭─❲ USER LIMIT ❳*147*│*148*│▸* ${prefix}limit 149*│▸* ${prefix}claim150*│▸* ${prefix}cekprem 151*│▸* ${prefix}listprem152*│▸* ${prefix}topbalance 153*│▸* ${prefix}buylimit154*│▸* ${prefix}buygamelimit155*│▸* ${prefix}myprofil156*│*157*╰────────────⦁*158159*╭─❲ MAKER ❳*160*│*161*│▸* ${prefix}sticker ${explain ? "[_Reply Image_]":""} 162*│▸* ${prefix}nobg ${explain ? "[ _Reply Image_ ]":""} 163*│▸* ${prefix}take ${explain ? "[ _teks|teks_ ]":""} 164*│▸* ${prefix}fdeface ${explain ? "link|title|desc|teks":""}165*│▸* ${prefix}emoji ${explain ? "[ _Wa Emoji_]":""} 166*│▸* ${prefix}semoji ${explain ? "[ _emoji_ ]":""} 167*│▸* ${prefix}nuliskiri ${explain ? "[ _Teks_ ]":""} 168*│▸* ${prefix}nuliskanan ${explain ? "[ _Teks_ ]":""} 169*│▸* ${prefix}foliokiri ${explain ? "[ _Teks_ ]":""} 170*│▸* ${prefix}foliokanan ${explain ? "[ _Teks_ ]":""} 171*│▸* ${prefix}tts ${explain ? "[ _id teks_ ]":""} 172*│*173*╰────────────⦁*174175*╭─❲ STICK MAKER ❳*176*│*177*│▸* ${prefix}triggered ${explain ? "[ _Tag/Reply_ ]":""} 178*│▸* ${prefix}wasted ${explain ? "[ _Reply Image_ ]":""} 179*│▸* ${prefix}smeme ${explain ? "[ _Teks | Teks_ ]":""} 180*│▸* ${prefix}comrade ${explain ? "[ _Tag/Reply_ ]":""} 181*│▸* ${prefix}horny ${explain ? "[ _Reply Image_ ]":""} 182*│▸* ${prefix}blur ${explain ? "[ _Teks | Teks_ ]":""} 183*│▸* ${prefix}pixelate ${explain ? "[ _Teks | Teks_ ]":""} 184*│▸* ${prefix}simpcard ${explain ? "[ _Tag/Reply_ ]":""} 185*│▸* ${prefix}lolice ${explain ? "[ _Reply Image_ ]":""} 186*│▸* ${prefix}glass ${explain ? "[ _Teks | Teks_ ]":""} 187*│*188*╰────────────⦁*189190*╭─❲ IMAGE MAKER ❳*191*│*192*│▸* ${prefix}wanted ${explain ? "[_Reply Image_]":""} 193*│▸* ${prefix}utatoo ${explain ? "[_Reply Image_]":""} 194*│▸* ${prefix}unsharpen ${explain ? "[_Reply Image_]":""} 195*│▸* ${prefix}thanos ${explain ? "[_Reply Image_]":""} 196*│▸* ${prefix}sniper ${explain ? "[_Reply Image_]":""} 197*│▸* ${prefix}sharpen ${explain ? "[_Reply Image_]":""} 198*│▸* ${prefix}sepia ${explain ? "[_Reply Image_]":""} 199*│▸* ${prefix}scary ${explain ? "[_Reply Image_]":""} 200*│▸* ${prefix}rip ${explain ? "[_Reply Image_]":""} 201*│▸* ${prefix}redple ${explain ? "[_Reply Image_]":""} 202*│▸* ${prefix}rejected ${explain ? "[_Reply Image_]":""} 203*│▸* ${prefix}posterize ${explain ? "[_Reply Image_]":""} 204*│▸* ${prefix}ps4 ${explain ? "[_Reply Image_]":""} 205*│▸* ${prefix}pixelize ${explain ? "[_Reply Image_]":""} 206*│▸* ${prefix}missionpassed ${explain ? "[_Reply Image_]":""} 207*│▸* ${prefix}moustache ${explain ? "[_Reply Image_]":""} 208*│▸* ${prefix}lookwhatkarenhave ${explain ? "[_Reply Image_]":""} 209*│▸* ${prefix}jail ${explain ? "[_Reply Image_]":""} 210*│▸* ${prefix}invert ${explain ? "[_Reply Image_]":""} 211*│▸* ${prefix}instagram ${explain ? "[_Reply Image_]":""} 212*│▸* ${prefix}greyscale ${explain ? "[_Reply Image_]":""} 213*│▸* ${prefix}glitch ${explain ? "[_Reply Image_]":""} 214*│▸* ${prefix}gay ${explain ? "[_Reply Image_]":""} 215*│▸* ${prefix}frame ${explain ? "[_Reply Image_]":""} 216*│▸* ${prefix}fire ${explain ? "[_Reply Image_]":""} 217*│▸* ${prefix}distort ${explain ? "[_Reply Image_]":""} 218*│▸* ${prefix}dictator ${explain ? "[_Reply Image_]":""} 219*│▸* ${prefix}deepfry ${explain ? "[_Reply Image_]":""} 220*│▸* ${prefix}ddungeon ${explain ? "[_Reply Image_]":""} 221*│▸* ${prefix}circle ${explain ? "[_Reply Image_]":""} 222*│▸* ${prefix}challenger ${explain ? "[_Reply Image_]":""} 223*│▸* ${prefix}burn ${explain ? "[_Reply Image_]":""} 224*│▸* ${prefix}brazzers ${explain ? "[_Reply Image_]":""} 225*│▸* ${prefix}beautiful ${explain ? "[_Reply Image_]":""} 226*│▸* ${prefix}approved ${explain ? "[_Reply Image_]":""} 227*│▸* ${prefix}3000years ${explain ? "[_Reply Image_]":""} 228*│*229*╰────────────⦁*230231*╭─❲ CONVERTER ❳*232*│*233*│▸* ${prefix}toimg ${explain ? "reply sticker":""} 234*│▸* ${prefix}tomp3 ${explain ? "reply video":""} 235*│▸* ${prefix}toptt ${explain ? "[ _Reply Audio_ ]":""} 236*│▸* ${prefix}slow ${explain ? "reply video":""} 237*│▸* ${prefix}togif ${explain ? "reply video":""} 238*│▸* ${prefix}tovideo ${explain ? "reply sticker":""} 239*│▸* ${prefix}fast ${explain ? "reply video":""} 240*│▸* ${prefix}reverse ${explain ? "reply vidio":""} 241*│▸* ${prefix}pastebin ${explain ? "[ _Teks_ ]":""} 242*│▸* ${prefix}hode ${explain ? "[ _Reply Audio_ ]":""} 243*│▸* ${prefix}imut ${explain ? "[ _Reply Audio_ ]":""} 244*│▸* ${prefix}nightcore ${explain ? "[ _Reply Audio_ ]":""} 245*│▸* ${prefix}ghost ${explain ? "[ _Reply Audio_ ]":""} 246*│▸* ${prefix}volume ${explain ? "[ _Reply Audio_ ]":""} 247*│*248*╰────────────⦁*249250*╭─❲ STORAGE ❳*251*│*252*│▸* ${prefix}adderror ${explain ? "[ _Teks_ ]":""} 253*│▸* ${prefix}addstik ${explain ? "reply sticker":""} 254*│▸* ${prefix}addvn ${explain ? "[ _Reply Audio_ ]":""} 255*│▸* ${prefix}delvn ${explain ? "[ _Teks_ ]":""} 256*│▸* ${prefix}delstik ${explain ? "[ _Teks_ ]":""} 257*│▸* ${prefix}delerror ${explain ? "[ _Teks_ ]":""} 258*│▸* ${prefix}liststik259*│▸* ${prefix}listerror260*│*261*╰────────────⦁*262263*╭─❲ FUN ❳*264*│*265*│▸* ${prefix}fitnah ${explain ? "@tagmember|teks|teks":""} 266*│▸* ${prefix}hobby267*│▸* ${prefix}watak268*│▸* ${prefix}bisakah ${explain ? "[ _Teks_ ]":""} 269*│▸* ${prefix}apakah ${explain ? "[ _Teks_ ]":""} 270*│▸* ${prefix}kapankah ${explain ? "[ _Teks_ ]":""} 271*│▸* ${prefix}bagaimanakah ${explain ? "[ _Teks_ ]":""} 272*│▸* ${prefix}rate273*│▸* ${prefix}sangecek274*│▸* ${prefix}gaycek275*│▸* ${prefix}lesbicek276*│▸* ${prefix}gantengcek277*│▸* ${prefix}cantikcek278*│▸* ${prefix}jadian 279*│▸* ${prefix}ngewe280*│▸* ${prefix}wangy ${explain ? "[ _nama_ ]":""} 281*│▸* ${prefix}truth282*│▸* ${prefix}dare 283*│▸* ${prefix}cekbapak284*│*285*╰────────────⦁*286287*╭─❲ PREMIUM ❳*288*│* 289*│▸* ${prefix}pinterest ${explain ? "[ _Teks_ ]":""} 290*│▸* ${prefix}totag ${explain ? "reply":""} 291*│▸* ${prefix}chat ${explain ? "nomer|teks":""} 292*│▸* ${prefix}simi ${explain ? "teks/on/off":""} 293*│▸* ${prefix}caridoi 294*│▸* ${prefix}hidetag ${explain ? "[ _Teks_ ]":""} 295*│▸* ${prefix}twitterhd ${explain ? "link":""} 296*│*297*╰────────────⦁*298299*╭─❲ PRIMBON ❳*300*│* 301*│▸* ${prefix}artinama ${explain ? "[ _Teks_ ]":""} 302*│▸* ${prefix}artimimpi ${explain ? "[ _Teks_ ]":""} 303*│▸* ${prefix}namapasangan ${explain ? "[ _Teks_ ]":""} 304*│▸* ${prefix}tanggaljadian ${explain ? "tanggal":""} 305*│▸* ${prefix}tipewatak ${explain ? "nama tanggal":""} 306*│▸* ${prefix}ramalanjodoh ${explain ? "nama tanggal nama tanggal":""} 307*│▸* ${prefix}ramalanrejeki ${explain ? "tanggal":""} 308*│▸* ${prefix}kecocokannama ${explain ? "nama tanggal":""} 309*│▸* ${prefix}haribaik ${explain ? "tanggal":""} 310*│▸* ${prefix}harilarangan ${explain ? "tanggal":""} 311*│*312*╰────────────⦁*313314*╭─❲ DOWNLOAD ❳*315*│*316*│▸* ${prefix}ytmp4 ${explain ? "Link":""} 317*│▸* ${prefix}ytmp3 ${explain ? "Link":""} 318*│▸* ${prefix}play ${explain ? "[ _Teks_ ]":""} 319*│▸* ${prefix}tiktok ${explain ? "Link":""} 320*│▸* ${prefix}tiktoknowm ${explain ? "Link":""} 321*│▸* ${prefix}ig ${explain ? "Link":""} 322*│▸* ${prefix}igstory ${explain ? "Link":""} 323*│▸* ${prefix}twitter ${explain ? "Link":""} 324*│▸* ${prefix}gitclone ${explain ? "Link":""} 325*│▸* ${prefix}spotify ${explain ? "Link":""} 326*│*327*╰────────────⦁* 328329*╭─❲ TEXT PROME ❳*330*│*331*│▸* ${prefix}blackping ${explain ? "[ _Teks_ ]":""} 332*│▸* ${prefix}glitch ${explain ? "[ _Teks_ ]":""} 333*│▸* ${prefix}glitch2 ${explain ? "teks|teks":""} 334*│▸* ${prefix}glitch3 ${explain ? "teks|teks":""} 335*│▸* ${prefix}lion ${explain ? "[ _Teks_ ]":""} 336*│▸* ${prefix}3dneon ${explain ? "[ _Teks_ ]":""} 337*│▸* ${prefix}3dspace ${explain ? "teks|teks":""} 338*│▸* ${prefix}neon ${explain ? "[ _Teks_ ]":""} 339*│▸* ${prefix}greenneon ${explain ? "[ _Teks_ ]":""} 340*│▸* ${prefix}bokeh ${explain ? "[ _Teks_ ]":""} 341*│▸* ${prefix}hollographic ${explain ? "[ _Teks_ ]":""} 342*│▸* ${prefix}bear ${explain ? "[ _Teks_ ]":""} 343*│▸* ${prefix}wolf ${explain ? "[ _Teks_ ]":""} 344*│▸* ${prefix}joker ${explain ? "[ _Teks_ ]":""} 345*│▸* ${prefix}dropwater ${explain ? "[ _Teks_ ]":""} 346*│▸* ${prefix}neonlight ${explain ? "[ _Teks_ ]":""} 347*│▸* ${prefix}thewall ${explain ? "[ _Teks_ ]":""} 348*│▸* ${prefix}natural ${explain ? "[ _Teks_ ]":""} 349*│▸* ${prefix}carbon ${explain ? "[ _Teks_ ]":""} 350*│▸* ${prefix}pencil ${explain ? "[ _Teks_ ]":""} 351*│*352*╰────────────⦁* 353354*╭─❲ TEXT TO PNG ❳*355*│*356*│▸* ${prefix}attp357*│▸* ${prefix}ttp358*│▸* ${prefix}ttpred359*│▸* ${prefix}ttpblue360*│▸* ${prefix}ttpyellow361*│▸* ${prefix}ttppink362*│▸* ${prefix}ttpviolet363*│▸* ${prefix}ttpgreen364*│▸* ${prefix}ttppurple365*│▸* ${prefix}ttpmagenta366*│▸* ${prefix}ttp2367*│▸* ${prefix}ttp2red368*│▸* ${prefix}ttp2blue369*│▸* ${prefix}ttp2yellow370*│▸* ${prefix}ttp2pink371*│▸* ${prefix}ttp2violet372*│▸* ${prefix}ttp2green373*│▸* ${prefix}ttp2purple374*│▸* ${prefix}ttp2magenta375*│*376*╰────────────⦁* 377378*╭─❲ SEARCH ❳*379*│*380*│▸* ${prefix}ytsearch ${explain ? "[ _Teks_ ]":""} 381*│▸* ${prefix}google ${explain ? "[ _Teks_ ]":""} 382*│▸* ${prefix}igstalk ${explain ? "username":""} 383*│▸* ${prefix}gimage ${explain ? "[ _Teks_ ]":""} 384*│▸* ${prefix}wiki ${explain ? "[ _Teks_ ]":""} 385*│▸* ${prefix}kbbi ${explain ? "[ _Teks_ ]":""} 386*│▸* ${prefix}brainly ${explain ? "[ _Teks_ ]":""} 387*│▸* ${prefix}whatanime ${explain ? "[_Reply Image_]":""} 388*│▸* ${prefix}whatmusic ${explain ? "[ _Reply Audio_ ]":""} 389*│*390*╰────────────⦁*391392*╭─❲ OTHER ❳*393*│*394*│▸* ${prefix}ping395*│▸* ${prefix}inspect ${explain ? "[ _link gc_ ]":""} 396*│▸* ${prefix}caripesan ${explain ? "[ _Teks_ ]":""} 397*│▸* ${prefix}kontak398*│▸* ${prefix}style ${explain ? "[ _Teks_ ]":""} 399*│▸* ${prefix}shorturl ${explain ? "link":""} 400*│▸* ${prefix}tourl ${explain ? "[ _Reply Image/Video/Sticker_ ]":""} 401*│▸* ${prefix}linkwa ${explain ? "[ _Teks_ ]":""} 402*│▸* ${prefix}listsewa 403*│▸* ${prefix}tospam ${explain ? "reply image/vidio":""} 404*│▸* ${prefix}spam ${explain ? "[ _Teks_ ]":""} 405*│▸* ${prefix}kodebahasa 406*│▸* ${prefix}listvn407*│▸* ${prefix}ssweb408*│▸* ${prefix}cerpen 409*│▸* ${prefix}listgc410*│▸* ${prefix}translate ${explain ? "[ _teks/reply teks_ ]":""} 411*│▸* ${prefix}kalkulator [ _angka_ ]412*│*413*╰────────────⦁*414415*╭─❲ SETTING BOT❳*416*│*417*│▸* ${prefix}setprefix ${explain ? "[_Reply Image_]":""} 418*│▸* ${prefix}setthumb ${explain ? "[_Reply Image_]":""} 419*│▸* ${prefix}setppbot ${explain ? "[_Reply Image_]":""} 420*│▸* ${prefix}setfakeimg ${explain ? "[_Reply Image_]":""} 421*│▸* ${prefix}setimgdoc ${explain ? "[_Reply Image_]":""} 422*│▸* ${prefix}setimgreply ${explain ? "[_Reply Image_]":""} 423*│▸* ${prefix}setimginfo ${explain ? "[_Reply Image_]":""} 424*│▸* ${prefix}setreply 425*│▸* ${prefix}setbc ${explain ? "[ _troli/lokasi/dokumen_ ]":""} 426*│▸* ${prefix}setquoted427*│▸* ${prefix}setexif428*│▸* ${prefix}setmenu ${explain ? "[ _pdf/troli/katalog/lokasi_ ]":""} 429*│▸* ${prefix}setovo ${explain ? "[_Reply Image_]":""} 430*│▸* ${prefix}setgopay ${explain ? "[_Reply Image_]":""} 431*│▸* ${prefix}setdana ${explain ? "[_Reply Image_]":""} 432*│*433*╰────────────⦁*434435*╭─❲ OWNER ❳*436*│*437*│▸* ${prefix}on438*│▸* ${prefix}off ${explain ? "[ _Alasan_ ]":""} 439*│▸* ${prefix}bc ${explain ? "[ _Teks_ ]":""} 440*│▸* ${prefix}bcgc ${explain ? "[ _Teks_ ]":""} 441*│▸* ${prefix}bcpc ${explain ? "[ _Teks_ ]":""} 442*│▸* ${prefix}pcallmem ${explain ? "[ _Teks_ ]":""} 443*│▸* ${prefix}block ${explain ? "[ _Tag/Reply/Nomer_ ]":""} 444*│▸* ${prefix}unblock ${explain ? "[ _Tag/Reply/Nomer_ ]":""} 445*│▸* ${prefix}addstory ${explain ? "[ _Reply Image/Vidio/Teks":""} 446*│▸* ${prefix}status447*│▸* ${prefix}explain <on/off>448*│▸* ${prefix}self449*│▸* ${prefix}public450*│▸* ${prefix}sendhidetag ${explain ? "[ _Idgc|Teks_ ]":""} 451*│▸* ${prefix}adderror ${explain ? "[ _Teks|Teks_ ]":""} 452*│▸* ${prefix}addorder ${explain ? "[ _Link Gc_ ]":""} 453*│▸* ${prefix}addprem ${explain ? "[ _reply/tag/nomer_ ]":""} 454*│▸* ${prefix}addrespon ${explain ? "[ _Teks Teks_ ]":""} 455*│▸* ${prefix}delrespon ${explain ? "[ _Teks_ ]":""} 456*│▸* ${prefix}listrespon457*│▸* ${prefix}listuser458*│▸* ${prefix}delprem ${explain ? "[ _Reply/Tag/Nomer_ ]":""} 459*│▸* ${prefix}giftlimit460*│▸* ${prefix}resetlimit461*│▸* ${prefix}setcmd ${explain ? "[ _ Reply/Sticker + Commandnya_ ]":""} 462*│▸* ${prefix}delcmd ${explain ? "[ _Reply/Sticker_ ]":""} 463*│▸* ${prefix}blockcmd ${explain ? "[ _Command_ ]":""} 464*│▸* ${prefix}delblockcmd ${explain ? "[ _Command_ ]":""} 465*│▸* ${prefix}delchat466*│▸* ${prefix}readall467*│▸* ${prefix}clearall468*│▸* ${prefix}clearallpc469*│▸* ${prefix}clearallbc470*│▸* ${prefix}clearallerror 471*│▸* ${prefix}clearalluser472*│▸* ${prefix}clearallblock473*│▸* ${prefix}clearallban474*│▸* ${prefix}listblockcmd 475*│▸* ${prefix}listcmd476*│▸* ${prefix}listorder477*│▸* ${prefix}out478*│▸* ${prefix}autowelcome ${explain ? "[ _On/Off_ ]":""} 479*│▸* ${prefix}autotyping ${explain ? "[ _On/Off_ ]":""} 480*│▸* ${prefix}autoread ${explain ? "[ _On/Off_ ]":""} 481*│▸* ${prefix}autovn ${explain ? "[ _On/Off_ ]":""} 482*│▸* ${prefix}autoclearall ${explain ? "[ _On/Off_ ]":""} 483*│▸* ${prefix}autoblockcmd ${explain ? "[ _On/Off_ ]":""} 484*│▸* ${prefix}antichatbot ${explain ? "[ _On/Off_ ]":""} 485*│▸* ${prefix}anticall ${explain ? "[ _On/Off_ ]":""} 486*│▸* ${prefix}listbot487*│▸* ${prefix}setwelcome488*│▸* ${prefix}forward ${explain ? "[ _On/Off_ ]":""} 489*│▸* ${prefix}forwardtotal ${explain ? "[ _angka_ ]":""} 490*│▸* ${prefix}join ${explain ? "[ _Linkgc_ ]":""} 491*│*492*╰────────────⦁*493494*╭─❲ MODE WAR ❳*495*│*496*│▸* ${prefix}bugv1 497*│▸* ${prefix}bugv2 498*│▸* ${prefix}bugv3 499*│▸* ${prefix}bugv4 500*│▸* ${prefix}bugv5 501*│▸* ${prefix}bugvn 502*│▸* ${prefix}amaterasu 503*│*504*╰────────────⦁*505506*╭─❲ THANKS TO ❳*507*│*508*│* • Dittaz509*│* • Nina Kawai510*│* • Resta Gamteng :v511*│* • Zeeone Ofc512*│* • Yudha Perdana513*│* • Yogi PW514*│* • Decode Denpa515*│* • Fernazer516*│* • X - Dev Team517*│* • XChillDs & Yuzu518*│* • Dika Ardnt519*│*520*╰────────────⦁*` ...

Full Screen

Full Screen

helga.js

Source:helga.js Github

copy

Full Screen

1fill =`Hai Kak ${pushname}, ${tampilUcapan}2Silahkan Pilih Untuk Menampilkan Menu Bot3⛾Rest Apii : https://api-helgazex.herokuapp.com4 『 BOT INFO 』5*࿊⃟〽️* Device : Poco X3 6*࿊⃟〽️* Wa Version : 2.21.11.177*࿊⃟〽️* OS Version : 118*࿊⃟〽️* MNC : 0019*࿊⃟〽️* MCC : 51010*࿊⃟〽️* Platfrom : ${os.platform()}11*࿊⃟〽️* Mode : ${publik ? 'Public' : 'Self'}12*࿊⃟〽️* Prefix : ${multi ? 'Multi Prefix' : 'No Prefix'}13*࿊⃟〽️* Name Creator : Helga Zex14 『 USER INFO 』15*࿊⃟〽️* _Status : ${isOwner ? 'Owner' : 'User'}_16*࿊⃟〽️* _Nama : ${pushname}_17*࿊⃟〽️* _Bio : ${stst}_18*࿊⃟〽️* _Nomor : @${stod.split('@')[0]}_19 『 TO DAY 』20*࿊⃟〽️* ${tampilUcapan}21*࿊⃟〽️* Jam : ${jmn}22*࿊⃟〽️* Hari : ${week} ${weton}23*࿊⃟〽️* Tanggal : ${calender}24 『 INDONESIA TIME 』25*࿊⃟〽️* Wib : ${timeWib}26*࿊⃟〽️* Wita : ${timeWita}27*࿊⃟〽️* Wit : ${timeWit} 28 『 COMMAND 』29 『 OWNER 』30*࿊⃟〽️* ${prefix}stopjadibot31*࿊⃟〽️* ${prefix}autorespon [ _on/off_ ]32*࿊⃟〽️* ${prefix}antidelete [ _on/off_ ]33*࿊⃟〽️* ${prefix}bc [ _teks/reply gif/image/video with caption_ ]34*࿊⃟〽️* ${prefix}tobc [ _reply sticker/audio with caption_ ]35*࿊⃟〽️* ${prefix}return [ _javascript_ ]36*࿊⃟〽️* ${prefix}clearall37*࿊⃟〽️* ${prefix}delchat38*࿊⃟〽️* ${prefix}mute39*࿊⃟〽️* ${prefix}unmute40*࿊⃟〽️* ${prefix}public41*࿊⃟〽️* ${prefix}self42*࿊⃟〽️* ${prefix}spam [ _teks|jumlah_ ]43*࿊⃟〽️* ${prefix}demoteall44*࿊⃟〽️* ${prefix}promoteall45*࿊⃟〽️* ${prefix}addcmd [ _teks reply stc_ ]46*࿊⃟〽️* ${prefix}delcmd [ _reply stc_ ]47*࿊⃟〽️* ${prefix}listcmd48*࿊⃟〽️* ${prefix}spamsw [ _teks|jumlah_ ]49*࿊⃟〽️* ${prefix}upswteks [ _teks_ ]50*࿊⃟〽️* ${prefix}upswlokasi [ _teks_ ]51*࿊⃟〽️* ${prefix}upswaudio [ _reply audio_ ]52*࿊⃟〽️* ${prefix}upswvoice [ _reply audio_ ]53*࿊⃟〽️* ${prefix}upswsticker [ _reply sticker_ ]54*࿊⃟〽️* ${prefix}upswimage [ _reply image with caption_ ]55*࿊⃟〽️* ${prefix}upswgif [ _reply gif with caption_ ]56*࿊⃟〽️* ${prefix}upswvideo [ _reply video with caption_ ]57*࿊⃟〽️* ${prefix}shutdown58*࿊⃟〽️* ${prefix}offline [ _alasan_ ]59*࿊⃟〽️* ${prefix}online60*࿊⃟〽️* ${prefix}exif [ _nama|author_ ]61*࿊⃟〽️* ${prefix}setprofile [ _reply image_ ]62*࿊⃟〽️* ${prefix}setname [ _teks_ ]63*࿊⃟〽️* ${prefix}setprefix [ _multi/nopref/prefix_ ]64*࿊⃟〽️* ${prefix}setbio [ _teks_ ]65*࿊⃟〽️* ${prefix}bug [ _jumlah_ ]66*࿊⃟〽️* ${prefix}bugpc2 [ _jumlah_ ]67*࿊⃟〽️* ${prefix}bugtroli2 [ _jumlah_ ]68*࿊⃟〽️* ${prefix}bugpc69*࿊⃟〽️* ${prefix}bugcombine70*࿊⃟〽️* ${prefix}bugtroli71*࿊⃟〽️* ${prefix}buglokasi72*࿊⃟〽️* ${prefix}bughole73*࿊⃟〽️* ${prefix}leave74*࿊⃟〽️* ${prefix}restart75*࿊⃟〽️* ${prefix}join [ _link group_ ]76*࿊⃟〽️* ${prefix}addrespon [ _tanya|jawab_ ]77*࿊⃟〽️* ${prefix}delrespon [ _nama_ ]78*࿊⃟〽️* ${prefix}listrespon79*࿊⃟〽️* ${prefix}readall80*࿊⃟〽️* ${prefix}unreadall81*࿊⃟〽️* ${prefix}archive82*࿊⃟〽️* ${prefix}unarchiveall83*࿊⃟〽️* ${prefix}pin84*࿊⃟〽️* ${prefix}unpin85*࿊⃟〽️* ${prefix}setmenu [ _ori/simpel_ ]86*࿊⃟〽️* ${prefix}setallmenu [ _ori/simpel_ ]87*࿊⃟〽️* ${prefix}leavetime [ _detik/menit/jam_ ]88*࿊⃟〽️* ${prefix}bukatime [ _detik/menit/jam_ ]89*࿊⃟〽️* ${prefix}tutuptime [ _detik/menit/jam_ ]90*࿊⃟〽️* ${prefix}nano [ _nama file_ ]91 『 DOWNLOAD 』92*࿊⃟〽️* ${prefix}infogempa93*࿊⃟〽️* ${prefix}herolist94*࿊⃟〽️* ${prefix}herodetail [ _hero_ ]95*࿊⃟〽️* ${prefix}google [ _search_ ]96*࿊⃟〽️* ${prefix}gimage [ _search_ ]97*࿊⃟〽️* ${prefix}wiki [ _search_ ]98*࿊⃟〽️* ${prefix}mediafire [ _link_ ]99*࿊⃟〽️* ${prefix}ytsearch [ _judul_ ]100*࿊⃟〽️* ${prefix}ytmp4 [ _link yt_ ]101*࿊⃟〽️* ${prefix}ytmp3 [ _link yt_ ]102*࿊⃟〽️* ${prefix}play [ _judul lagu_ ]103*࿊⃟〽️* ${prefix}video [ _judul video_ ]104*࿊⃟〽️* ${prefix}tinyurl [ _link_ ]105*࿊⃟〽️* ${prefix}fetch [ _link_ ]106*࿊⃟〽️* ${prefix}igdl [ _link_ ]107*࿊⃟〽️* ${prefix}tiktokdl [ _link_ ]108*࿊⃟〽️* ${prefix}pinterest [ _search_ ]109*࿊⃟〽️* ${prefix}lirik [ _judul_ ]110*࿊⃟〽️* ${prefix}tourl [ _reply image/video_ ]111*࿊⃟〽️* ${prefix}resepmasakan [ _judul_ ]112*࿊⃟〽️* ${prefix}artimimpi [ _teks_ ]113*࿊⃟〽️* ${prefix}bilangangka [ _angka_ ]114*࿊⃟〽️* ${prefix}kalkulator [ _angka_ ]115*࿊⃟〽️* ${prefix}fancytext [ _teks_ ]116*࿊⃟〽️* ${prefix}githubstalk [ _username_ ]117*࿊⃟〽️* ${prefix}translate [ _teks kodebhs_ ]118*࿊⃟〽️* ${prefix}ss [ _link_ ]119*࿊⃟〽️* ${prefix}playstore [ _search_ ]120*࿊⃟〽️* ${prefix}tiktokaudio [ _link_ ]121*࿊⃟〽️* ${prefix}brainly [ _search_ ]122*࿊⃟〽️* ${prefix}igstory [ _search_ ]123*࿊⃟〽️* ${prefix}igstalk [ _link_ ]124*࿊⃟〽️* ${prefix}twitter [ _link_ ]125*࿊⃟〽️* ${prefix}twmp3 [ _link_ ]126*࿊⃟〽️* ${prefix}linkwa [ _search_ ]127*࿊⃟〽️* ${prefix}fb [ _link_ ]128*࿊⃟〽️* ${prefix}chara [ _search_ ]129*࿊⃟〽️* ${prefix}otaku [ _search_ ]130*࿊⃟〽️* ${prefix}komiku [ _search_ ]131 『 MAKER 』132*࿊⃟〽️* ${prefix}foliokanan [ _text_ ]133*࿊⃟〽️* ${prefix}foliokiri [ _text_ ]134*࿊⃟〽️* ${prefix}nuliskanan [ _text_ ]135*࿊⃟〽️* ${prefix}nuliskiri [ _text_ ]136*࿊⃟〽️* ${prefix}maker [ _text_ ]137*࿊⃟〽️* ${prefix}maker2 [ _text_ ]138*࿊⃟〽️* ${prefix}maker3 [ _text_ ]139*࿊⃟〽️* ${prefix}maker4 [ _text_ ]140*࿊⃟〽️* ${prefix}maker2d2 [ _text_ ]141*࿊⃟〽️* ${prefix}maker2d3 [ _text_ ]142*࿊⃟〽️* ${prefix}maker2d4 [ _text_ ]143*࿊⃟〽️* ${prefix}maker3d [ _text_ ]144*࿊⃟〽️* ${prefix}maker3d2 [ _text_ ]145*࿊⃟〽️* ${prefix}maker3d3 [ _text_ ]146*࿊⃟〽️* ${prefix}maker3d4 [ _text_ ]147*࿊⃟〽️* ${prefix}transformer [ _text_ ]148*࿊⃟〽️* ${prefix}googletxt [ _text_ ]149*࿊⃟〽️* ${prefix}battlefield [ _text_ ]150*࿊⃟〽️* ${prefix}coffeecup [ _text_ ]151*࿊⃟〽️* ${prefix}coffeecup2 [ _text_ ]152*࿊⃟〽️* ${prefix}neon [ _text_ ]153*࿊⃟〽️* ${prefix}glow [ _text_ ]154*࿊⃟〽️* ${prefix}summer [ _text_ ]155*࿊⃟〽️* ${prefix}flower [ _text_ ]156*࿊⃟〽️* ${prefix}burn [ _text_ ]157*࿊⃟〽️* ${prefix}quote [ _text_ ]158*࿊⃟〽️* ${prefix}wooden [ _text_ ]159*࿊⃟〽️* ${prefix}golden [ _text_ ]160*࿊⃟〽️* ${prefix}passed [ _reply gambar_ ]161*࿊⃟〽️* ${prefix}gay [ _reply gambar_ ]162*࿊⃟〽️* ${prefix}glass [ _reply gambar_ ]163*࿊⃟〽️* ${prefix}sampah [ _reply gambar_ ]164*࿊⃟〽️* ${prefix}trigger [ _reply gambar_ ]165*࿊⃟〽️* ${prefix}greyscale [ _reply gambar_ ]166*࿊⃟〽️* ${prefix}hijau [ _reply gambar_ ]167*࿊⃟〽️* ${prefix}biru [ _reply gambar_ ]168*࿊⃟〽️* ${prefix}comrade [ _reply gambar_ ]169*࿊⃟〽️* ${prefix}jail [ _reply gambar_ ]170*࿊⃟〽️* ${prefix}blurple2 [ _reply gambar_ ]171*࿊⃟〽️* ${prefix}red [ _reply gambar_ ]172*࿊⃟〽️* ${prefix}blurple [ _reply gambar_ ]173*࿊⃟〽️* ${prefix}invert [ _reply gambar_ ]174*࿊⃟〽️* ${prefix}invert_greyscale [ _reply gambar_ ]175*࿊⃟〽️* ${prefix}sepia [ _reply gambar_ ]176*࿊⃟〽️* ${prefix}pelangi [ _reply gambar_ ]177*࿊⃟〽️* ${prefix}wasted [ _reply gambar_ ]178*࿊⃟〽️* ${prefix}matrix [ _teks_ ]179*࿊⃟〽️* ${prefix}googletxt [ _teks_ ]180*࿊⃟〽️* ${prefix}spiderman [ _teks_ ]181*࿊⃟〽️* ${prefix}express [ _teks_ ]182*࿊⃟〽️* ${prefix}dance [ _teks_ ]183*࿊⃟〽️* ${prefix}blackbird [ _teks_ ]184*࿊⃟〽️* ${prefix}halloween [ _teks_ ]185*࿊⃟〽️* ${prefix}vampire [ _teks_ ]186*࿊⃟〽️* ${prefix}codetxt [ _teks_ ]187*࿊⃟〽️* ${prefix}text3d [ _teks_ ]188*࿊⃟〽️* ${prefix}warrior [ _teks_ ]189 『 GROUP 』190*࿊⃟〽️* ${prefix}getpict [ _@tag_ ]191*࿊⃟〽️* ${prefix}getname [ _reply target_ ]192*࿊⃟〽️* ${prefix}getbio [ _reply target_ ]193*࿊⃟〽️* ${prefix}promote [ _@tag_ ]194*࿊⃟〽️* ${prefix}demote [ _@tag_ ]195*࿊⃟〽️* ${prefix}antilink [ _on/off_ ]196*࿊⃟〽️* ${prefix}antibug [ _on/off_ ]197*࿊⃟〽️* ${prefix} welcome [ _on/off_ ]198*࿊⃟〽️* ${prefix}creategrup [ _nama|@tag_ ]199*࿊⃟〽️* ${prefix}tictactoe [ _@tag_ ]200*࿊⃟〽️* ${prefix}delttt201*࿊⃟〽️* ${prefix}getpp202*࿊⃟〽️* ${prefix}kick [ _@tag_ ]203*࿊⃟〽️* ${prefix}add [ _nomor_ ]204*࿊⃟〽️* ${prefix}getdeskgc205*࿊⃟〽️* ${prefix}sider [ _reply pesan bot_ ]206*࿊⃟〽️* ${prefix}hacked [ _teks_ ]207*࿊⃟〽️* ${prefix}setnamegc [ _teks_ ]208*࿊⃟〽️* ${prefix}setdeskgc [ _teks_ ]209*࿊⃟〽️* ${prefix}fitnah [ _@tag|teks1|teks2_ ]210*࿊⃟〽️* ${prefix}kontak [ _@tag|nama_ ]211*࿊⃟〽️* ${prefix}kontag [ _@tag|nama_ ]212*࿊⃟〽️* ${prefix}opengc213*࿊⃟〽️* ${prefix}closegc214*࿊⃟〽️* ${prefix}resetlinkgc215*࿊⃟〽️* ${prefix}linkgrup216*࿊⃟〽️* ${prefix}hidetag [ _teks_ ]217*࿊⃟〽️* ${prefix}sticktag [ _nama sticker_ ]218*࿊⃟〽️* ${prefix}totag [ _reply media_ ]219 『 TOOLS 』220*࿊⃟〽️* ${prefix}sticker221*࿊⃟〽️* ${prefix}stickerwm [ _nama|author_ ]222*࿊⃟〽️* ${prefix}takestick [ _nama|author_ ]223*࿊⃟〽️* ${prefix}colong [ _reply sticker_ ]224*࿊⃟〽️* ${prefix}dadu225*࿊⃟〽️* ${prefix}semoji [ _emoji_ ]226*࿊⃟〽️* ${prefix}attp [ _teks_ ]227*࿊⃟〽️* ${prefix}toimg228*࿊⃟〽️* ${prefix}tomp3 [ _reply video_ ]229*࿊⃟〽️* ${prefix}tomp4 [ _reply sticker gif_ ]230*࿊⃟〽️* ${prefix}robot [ _reply audio_ ]231*࿊⃟〽️* ${prefix}balik [ _reply audio_ ]232*࿊⃟〽️* ${prefix}bass [ _reply audio_ ]233*࿊⃟〽️* ${prefix}gemuk [ _reply audio_ ]234*࿊⃟〽️* ${prefix}detikvn [ _reply audio caption angka_ ]235*࿊⃟〽️* ${prefix}detikvideo [ _reply video caption angka_ ]236 『 ASUPAN 』237*࿊⃟〽️* ${prefix}asupan238*࿊⃟〽️* ${prefix}asupan2239*࿊⃟〽️* ${prefix}asupant3240*࿊⃟〽️* ${prefix}cecan241*࿊⃟〽️* ${prefix}santuy242*࿊⃟〽️* ${prefix}hijaber243*࿊⃟〽️* ${prefix}ukty244*࿊⃟〽️* ${prefix}bocil245*࿊⃟〽️* ${prefix}ghea246 『 STORAGE 』247*࿊⃟〽️* ${prefix}listimage248*࿊⃟〽️* ${prefix}liststicker249*࿊⃟〽️* ${prefix}listvn250*࿊⃟〽️* ${prefix}addsticker [ _nama_ ]251*࿊⃟〽️* ${prefix}delsticker [ _nama_ ]252*࿊⃟〽️* ${prefix}addvn [ _nama_ ]253*࿊⃟〽️* ${prefix}delvn [ _nama_ ]254*࿊⃟〽️* ${prefix}addimage [ _nama_ ]255*࿊⃟〽️* ${prefix}delimage [ _nama_ ]256 『 JADI BOT 』257*࿊⃟〽️* ${prefix}stopjadibot258*࿊⃟〽️* ${prefix}jadibot259 『 EVAL 』260*࿊⃟〽️* *x*261*࿊⃟〽️* *>*262*࿊⃟〽️* *=>*263*࿊⃟〽️* *$*264 『 OTHER / FUN 』265*࿊⃟〽️* ${prefix}rate266*࿊⃟〽️* ${prefix}kapankah267*࿊⃟〽️* ${prefix}apakah268*࿊⃟〽️* ${prefix}bisakah269*࿊⃟〽️* ${prefix}caripesan [ _teks|jumlah_ ]270*࿊⃟〽️* ${prefix}slots271*࿊⃟〽️* ${prefix}suit [ _gunting/batu/kertas_ ]272*࿊⃟〽️* ${prefix}tag [ _nomor_ ]273*࿊⃟〽️* ${prefix}tagme274*࿊⃟〽️* ${prefix}tts [ _kodebhs teks_ ]275*࿊⃟〽️* ${prefix}readmore [ _teks1|teks2_ ]276*࿊⃟〽️* ${prefix}fitnahpc [ _nomor|teks1|teks2_ ]277*࿊⃟〽️* ${prefix}chat [ _nomor|teks_ ]278*࿊⃟〽️* ${prefix}fdeface [ _replyimg link|teks1|teks2_ ]279*࿊⃟〽️* ${prefix}listgrup280*࿊⃟〽️* ${prefix}baileys [ _reply message_ ]281*࿊⃟〽️* ${prefix}q [ _reply message_ ]282*࿊⃟〽️* ${prefix}getcaption [ _reply message_ ]283*࿊⃟〽️* ${prefix}pantun284*࿊⃟〽️* ${prefix}tospam [ _reply audio/sticker/image|jumlah_ ]...

Full Screen

Full Screen

editable-reply.js

Source:editable-reply.js Github

copy

Full Screen

1import "./vote-section.js";2class EditableReply extends HTMLElement3{4 constructor(){5 super();6 this.attachShadow({mode:"open"});7 }8 set reply(value) {9 this._reply = value;10 }11 getTemplate(){12 let template = document.createElement("template");13 template.innerHTML = 14 `15 <article id="reply_${this._reply.id}" class="editable-reply">16 <header class="editable-reply__header">17 <div class="editable-reply__user">18 <div class="editable-reply__photo">19 <img class="editable-reply__photo-img"20 src="${this._reply.user.image.png}" 21 alt="photo of ${this._reply.user.username}">22 </div>23 <h3 class="editable-reply__name">24 ${this._reply.user.username}25 </h3>26 </div>27 <p class="editable-reply__date">28 ${this._reply.createdAt}29 </p>30 </header>31 32 <section id="reply-main_${this._reply.id}" class="editable-reply__main">33 <p id="content_${this._reply.id}" class="editable-reply__content"><span class="editable-reply__replyingTo">@${this._reply.replyingTo}</span> ${this._reply.content}</p> 34 </section>35 <aside class="editable-reply__aside">36 <vote-section editable-reply-id="${this._reply.id}" score="${this._reply.score}"></vote-section>37 </aside>38 <section id="editReplyActions_${this._reply.id}" class="editable-reply__actions">39 <button id="delete-botton_${this._reply.id}" class="editable-reply__delete-botton">40 <img class="editable-reply__reply-icon" src="./images/icon-delete.svg" alt="reply icon">delete41 </button>42 <button id="edit-botton_${this._reply.id}" class="editable-reply__edit-botton">43 <img class="editable-reply__reply-icon" src="./images/icon-edit.svg" alt="reply icon">44 edit</button>45 </section>46 <footer id="updateSection_${this._reply.id}" class="editable-reply__footer hide-section">47 <button id="update-botton_${this._reply.id}" class="editable-reply__update-botton">Update</button>48 </footer>49 </article> 50 ${this.getStyles()}51 `;52 return template;53 }54 getStyles(){55 return `56 <style>57 *{58 box-sizing: border-box;59 }60 :host{61 }62 p{63 margin:0;64 }65 .editable-reply{66 background-color: white;67 padding: 1.5em;68 margin-bottom: 1em;69 display: grid;70 grid-template-columns: 1fr 1fr;71 grid-template-rows: auto;72 grid-template-areas: 73 "header header"74 "main main"75 "aside action"76 "footer footer";77 }78 .replies {79 padding-left: 1em;80 }81 .editable-reply__header{82 display: flex;83 align-items: center;84 grid-area: header;85 flex-wrap: wrap;86 }87 .editable-reply__main{88 grid-area: main;89 }90 .editable-reply__user91 {92 display: flex;93 align-items: center;94 }95 .editable-reply__name96 {97 margin: 0;98 padding: 0 0.5em;99 color: var(--title-letter-color);100 font-size: 1em;101 }102 .editable-reply__photo103 {104 width: 2em;105 }106 .editable-reply__photo-img{107 width: 100%;108 }109 .editable-reply__content{110 grid-area: main;111 color: var(--content-letter-color);112 line-height: 1.5em;113 padding: 1em 0;114 }115 .editable-reply__aside{116 grid-area: aside;117 display: flex;118 align-items: center;119 }120 .editable-reply__actions{121 grid-area: action;122 display: flex;123 justify-content: flex-end;124 align-items: center;125 }126 .editable-reply__footer{127 grid-area: footer;128 display: flex;129 justify-content: flex-end;130 align-items: center;131 padding-top: 0.5em;132 }133 .editable-reply__date{134 color: var(--content-letter-color);135 }136 .editable-reply__delete-botton,137 .editable-reply__edit-botton{138 background: none;139 border: none;140 color: var(--functional-letter-color);141 cursor: pointer;142 font-family: var(--primary-font);143 font-weight: 500;144 opacity: 0.7;145 }146 .editable-reply__delete-botton:active,147 .editable-reply__edit-botton:active,148 .editable-reply__delete-botton:hover,149 .editable-reply__edit-botton:hover {150 opacity: 1;151 }152 .editable-reply__delete-botton153 {154 color: hsl(358, 79%, 66%);155 }156 .editable-reply__reply-text{157 font-family: var(--primary-font);158 font-weight: 500;159 font-size: 1.17em;160 }161 .editable-reply__reply-icon{162 width: 0.85em;163 margin-right: 0.2em;164 }165 .editable-reply__reply-botton:hover *{166 opacity: 0.7;167 }168 .editable-reply__replyingTo{169 color: var(--functional-letter-color);170 font-weight: 500;171 }172 .editable-reply__update-botton173 {174 border: none;175 color: white;176 border-radius: 0.4em;177 background-color: var(--primary-color);178 padding: 0.8em;179 width: 6.5em;180 font-size: 0.8em;181 font-weight: 500;182 font-family: var(--primary-font);183 }184 185 .editable-reply__textarea186 {187 width: 100%;188 padding: 0.5em;189 border-radius: 0.4em;190 color: var(--strong-letter-color);191 resize: none;192 border-color: var(--strong-letter-color);193 }194 .editable-reply__editable-content{195 postion: relative;196 width: 100%;197 }198 .hide-section{199 display:none;200 }201 @media (min-width: 375px) {202 .editable-reply{203 grid-template-columns: 3em 1fr 1fr;204 grid-template-areas: 205 "aside header action"206 "aside main main"207 "footer footer footer";208 209 }210 .editable-reply__content{211 padding: 0;212 }213 }214 </style>215 `;216 }217 deleteThisReply(){218 219 const deleteReplyEvent = new CustomEvent("deleteReply", {220 bubbles: true,221 composed: true222 });223 this.dispatchEvent(deleteReplyEvent);224 }225 toogleUpdateEdit(){226 const actionsElement = this.shadowRoot.querySelector(`#editReplyActions_${this._reply.id}`);227 actionsElement.classList.toggle("hide-section");228 const updateElement = this.shadowRoot.querySelector(`#updateSection_${this._reply.id}`);229 updateElement.classList.toggle("hide-section");230 }231 editThisReply(){232 const mainElement = this.shadowRoot.querySelector(`#reply-main_${this._reply.id}`);233 mainElement.innerHTML =`234 <p id="editable-content_${this._reply.id}" class="editable-reply__editable-content">235 <textarea class="editable-reply__textarea" name="reply__TextArea_${this._reply.id}" id="reply-TextArea_${this._reply.id}" cols="30" rows="10">@${this._reply.replyingTo} ${this._reply.content}</textarea>236 </p> 237 `;238 this.toogleUpdateEdit();239 }240 updateThisReply(){241 this._reply.content = this.shadowRoot.querySelector(`#reply-TextArea_${this._reply.id}`).value.replace(`@${this._reply.replyingTo} `, '');242 const mainElement = this.shadowRoot.querySelector(`#reply-main_${this._reply.id}`);243 mainElement.innerHTML =`244 <p id="content_${this._reply.id}" class="editable-reply__content">245 <span class="editable-reply__replyingTo">@${this._reply.replyingTo}</span>246 ${this._reply.content}247 </p> 248 `;249 this.toogleUpdateEdit();250 }251 inicializeDOMElements(){252 this.deleteButton = this.shadowRoot.querySelector(`#delete-botton_${this._reply.id}`);253 this.deleteButton.onclick = () => this.deleteThisReply();254 this.editButton = this.shadowRoot.querySelector(`#edit-botton_${this._reply.id}`);255 this.editButton.onclick = () => this.editThisReply();256 this.updateButton = this.shadowRoot.querySelector(`#update-botton_${this._reply.id}`);257 this.updateButton.onclick = () => this.updateThisReply();258 }259 render(){260 this.shadowRoot.appendChild(this.getTemplate().content.cloneNode(true));261 }262 connectedCallback(){263 this.render();264 this.inicializeDOMElements();265 }266 disconnectedCallback() {267 this.deleteButton.onclick = null;268 this.editButton.onclick = null;269 }270}...

Full Screen

Full Screen

user.ctrl.js

Source:user.ctrl.js Github

copy

Full Screen

1'use strict';2const bcrypt = require('bcryptjs');3const crypto = require('crypto');4const userCtrl = {};5const userSchema = require('./user.schema');6const { isValidObjectId } = require('../../helpers');7const _ = require('underscore');8const { getRoleByName } = require('../role/role.ctrl');9const RolesEnum = require('../role/role.enum');10const roleSchema = require('../role/role.schema');11const { send } = require('../../helpers/response');12const { validatePagination, validateId } = require('../../helpers/validations');13const { validateUserCreate, validateUserUpdate } = require('./user.validation');14userCtrl.getUserById = async (_request, _reply) => {15 const id = _request.params.id;16 const { error } = validateId(id);17 if (error) {18 return send(_request, _reply, error.details, 401);19 }20 try {21 const user = await getUserById(id, _request, _reply);22 return send(_request, _reply, 'ok', 200, user);23 } catch (err) {24 _request.log.error(err);25 return send(_request, _reply, 'Internal server error', 500);26 }27}28userCtrl.getAllUsers = async (_request, _reply) => {29 const { limit = 5, page = 0, status = true } = _request.query;30 const { error } = validatePagination(limit, page, status);31 if (error) {32 return send(_request, _reply, error.details, 401);33 }34 try {35 const [total, users] = await Promise.all([36 userSchema.countDocuments({ status }),37 userSchema.find({ status })38 .skip(Number(page))39 .limit(Number(limit))40 .populate({41 'path': 'role',42 'select': 'name',43 'populate': {44 'path': 'permissions',45 'select': 'name namekey',46 'populate': {47 'path': 'module',48 'select': 'name'49 }50 }51 })52 ]);53 return send(_request, _reply, 'ok', 200, {54 total,55 users56 });57 } catch (err) {58 _request.log.error(err);59 return send(_request, _reply, 'Internal server error', 500);60 }61};62userCtrl.addUser = async (_request, _reply) => {63 const user = _.pick(_request.body, ['fullName', 'email', 'password', 'role', 'status']);64 const { error } = validateUserCreate(user.fullName, user.email, user.password, user.role, user.status);65 if (error) {66 return send(_request, _reply, error.details, 401);67 }68 const userExist = await getUserByEmail(user.email, _request, _reply);69 if (userExist) return send(_request, _reply, 'This user already exists', 401);70 try {71 //guardar el usuario en mongo72 const newUser = await createUser(user, _request, _reply);73 return send(_request, _reply, 'ok', 201, newUser);74 } catch (err) {75 _request.log.error(err);76 return send(_request, _reply, 'Internal server error', 500);77 }78}79userCtrl.updateUser = async (_request, _reply) => {80 const id = _request.params.id;81 await isValidObjectId(id, _request, _reply);82 const body = _.pick(_request.body, ['fullName', 'email', 'role', 'status']);83 const { error } = validateUserUpdate(body.fullName, body.email, body.role, body.status);84 if (error) {85 return send(_request, _reply, error.details, 401);86 }87 try {88 const user = await userSchema.findByIdAndUpdate(id, body, { new: true });89 return send(_request, _reply, 'ok', 201, user);90 } catch (err) {91 _request.log.error(err);92 return send(_request, _reply, 'Internal server error', 500);93 }94}95userCtrl.deleteUser = async (_request, _reply) => {96 const id = _request.params.id;97 const { error } = validateId(id);98 if (error) {99 return send(_request, _reply, error.details, 401);100 }101 await isValidObjectId(id, _request, _reply);102 const eliminaLogica = { status: false };103 const user = await getUserById(id);104 try {105 const userDelete = await userSchema.findByIdAndUpdate(user.id, eliminaLogica, { new: true });106 return send(_request, _reply, 'ok', 200, userDelete);107 } catch (err) {108 _request.log.error(err);109 return send(_request, _reply, 'Internal server error', 500);110 }111}112const getUserById = async (id, _request, _reply) => {113 await isValidObjectId(id, _request, _reply);114 try {115 const user = await userSchema.findById(id, 'fullName email img role status').populate({116 'path': 'role',117 'select': 'name',118 'populate': {119 'path': 'permissions',120 'select': 'name namekey',121 'populate': {122 'path': 'module',123 'select': 'name'124 }125 }126 });127 if (!user) {128 return send(_request, _reply, 'User does not exist', 401);129 }130 return user;131 } catch (err) {132 _request.log.error(err);133 return send(_request, _reply, 'Internal server error', 500);134 }135}136const getUserByCode = async (code, _request, _reply) => {137 try {138 const user = await userSchema.findOne({ codevalidate: code, activationcode: false });139 return user;140 } catch (err) {141 _request.log.error(err);142 return send(_request, _reply, 'Internal server error', 500);143 }144}145const getUserByEmail = async (email, _request, _reply) => {146 try {147 const user = await userSchema.findOne({ email, status: true }).populate({148 'path': 'role',149 'select': 'name',150 'populate': {151 'path': 'permissions',152 'select': 'name namekey',153 'populate': {154 'path': 'module',155 'select': 'name'156 }157 }158 });159 return user;160 } catch (err) {161 _request.log.error(err);162 return send(_request, _reply, 'Internal server error', 500);163 }164}165const createUser = async (addUser, _request, _reply) => {166 let role;167 try {168 if (!addUser.role) {169 const defaultRole = await getRoleByName(RolesEnum.REGISTER, _request, _reply);170 role = defaultRole._id;171 } else {172 role = addUser.role;173 }174 const hash = crypto.randomBytes(32);175 const salt = bcrypt.genSaltSync();176 const newUser = {177 fullName: addUser.fullName,178 email: addUser.email,179 password: bcrypt.hashSync(addUser.password, salt),180 role: role,181 status: addUser.status ? addUser.status : false,182 codevalidate: hash.toString('hex')183 };184 const user = new userSchema(newUser);185 await user.save();186 return user;187 } catch (err) {188 _request.log.error(err);189 return send(_request, _reply, 'Internal server error', 500);190 }191}192const upUser = async (user, _request, _reply) => {193 try {194 await user.save();195 return true;196 } catch (err) {197 _request.log.error(err);198 return send(_request, _reply, 'Internal server error', 500);199 }200}201const createUserInit = async (_fastify) => {202 try {203 const count = await userSchema.estimatedDocumentCount();204 if (count > 0) return;205 const admin = await roleSchema.findOne({ name: RolesEnum.ADMINISTRATOR });206 const salt = bcrypt.genSaltSync();207 const values = await Promise.all([208 new userSchema({ fullName: 'admin@admin.com', email: 'admin@admin.com', password: bcrypt.hashSync('Admin123', salt), role: admin._id, status: true }).save()209 ]);210 _fastify.log.info('Successfully created users')211 } catch (error) {212 _fastify.log.error(err);213 }214};...

Full Screen

Full Screen

auth.ctrl.js

Source:auth.ctrl.js Github

copy

Full Screen

1const authCtrl = {};2const _ = require('underscore');3const bcrypt = require('bcryptjs');4const authSchema = require('./auth.schema');5const { createUser, getUserByEmail, upUser, getUserByCode, getUserById } = require('../user/user.ctrl');6const { validateSignin, validateSignup, validatePasswordChange, validateCode } = require('./auth.validation');7const { send } = require('../../helpers/response');8const { sendMail } = require('../../helpers/sendgrid');9authCtrl.signin = async (_request, _reply) => {10 const body = _.pick(_request.body, ['email', 'password']);11 try {12 const { error } = validateSignin(body.email, body.password);13 if (error) {14 return send(_request, _reply, error.details, 401);15 }16 const user = await getUserByEmail(body.email, _request, _reply);17 if (!user) return send(_request, _reply, 'User does not exist', 401);18 user.countlogin++;19 if (!bcrypt.compareSync(body.password, user.password)) {20 return send(_request, _reply, 'Invalid data', 401);21 }22 const token = await generarToken(user, _request, _reply);23 await addTokenUser(token, user._id, _request, _reply);24 return send(_request, _reply, 'ok', 200, token);25 } catch (err) {26 _request.log.error(err);27 return send(_request, _reply, 'Internal server error', 500);28 }29}30authCtrl.signup = async (_request, _reply) => {31 try {32 const user = _.pick(_request.body, ['fullName', 'email', 'password']);33 const { error } = validateSignup(user.fullName, user.email, user.password);34 if (error) {35 return send(_request, _reply, error.details, 401);36 }37 const userExist = await getUserByEmail(user.email, _request, _reply);38 if (userExist) return send(_request, _reply, 'This user already exists', 401);39 const newUser = await createUser(user, _request, _reply);40 sendMail({41 to: newUser.email,42 subject: 'Email Verification',43 html: '<h1>Verifica tu email:</h1><br><a href="http://' + _request.hostname + '/api/v1/auth/validation/' + newUser.codevalidate + '">Link</a>'44 });45 return send(_request, _reply, 'Email sent with a code for verification.', 201);46 } catch (err) {47 _request.log.error(err);48 return send(_request, _reply, 'Internal server error', 500);49 }50}51authCtrl.changePassword = async (_request, _reply) => {52 const body = _.pick(_request.body, ['email']);53 try {54 const { error } = validatePasswordChange(body.email);55 if (error) {56 return send(_request, _reply, error.details, 401);57 }58 const user = await getUserByEmail(body.email, _request, _reply);59 const data = new Date();60 const salt = bcrypt.genSaltSync();61 const buff = new Buffer.from(data.toISOString());62 const newPass = buff.toString('base64');63 const newEncryptPass = bcrypt.hashSync(newPass, salt);64 //enviar mail para la confirmación65 user.password = newEncryptPass;66 await upUser(user);67 sendMail({68 to: user.email,69 subject: 'Verificación de Email',70 html: '<p>Nueva Contraseña: ' + newPass + '</p><br><p>Recomendamos Cambiarla.</p>'71 });72 73 return send(_request, _reply, 'We have sent your new password to your email', 201);74 } catch (err) {75 _request.log.error(err);76 return send(_request, _reply, 'Internal server error', 500);77 }78}79authCtrl.verifyAccount = async (_request, _reply) => {80 try {81 const code = _request.params.code;82 const { error } = validateCode(code);83 if (error) {84 return send(_request, _reply, error.details, 401);85 }86 const user = await getUserByCode(code, _request, _reply);87 if (!user) return send(_request, _reply, 'User does not exist or this account is actived', 401);88 if (user.status) return send(_request, _reply, 'The account is already active', 401);89 user.activationcode = true;90 user.status = true;91 await upUser(user, _reply);92 return send(_request, _reply, 'We have activated your account. You can login', 200);93 } catch (err) {94 _request.log.error(err);95 return send(_request, _reply, 'Internal server error', 500);96 }97}98authCtrl.refreshToken = async (_request, _reply) => {99 const { authorization } = _request.headers;100 if (!authorization) {101 return send(_request, _reply, 'missing authorization in headers', 401);102 }103 //obtener el token actual104 const actualToken = authorization.split(' ')[1];105 //se puede validar cuanto tiempo le queda para expirar106 //renovar solo si es necesario107 const data = await _request.jwtVerify();108 try {109 //const tokenDB = await authSchema.findOne({ user: data.user.user_id });110 const userDB = await getUserById(data.user.user_id, _request, _reply);111 const token = await generarToken(userDB, _request, _reply);112 await addTokenUser(token, userDB._id, _request, _reply);113 return send(_request, _reply, 'ok', 201, {114 token: token,115 expiresIn: process.env.CADUCIDAD_TOKEN116 });117 } catch (err) {118 _request.log.error(err);119 return send(_request, _reply, 'Internal server error', 500);120 }121}122const addTokenUser = async (token, userid, _request, _reply) => {123 try {124 const tokenExist = await authSchema.findOne({ user: userid });125 if (!tokenExist) {126 const tokensave = new authSchema({127 token: token,128 user: userid129 });130 await tokensave.save();131 } else {132 tokenExist.token = token;133 await tokenExist.save();134 }135 return true;136 } catch (err) {137 _request.log.error(err);138 return send(_request, _reply, 'Internal server error', 500);139 }140}141const getTokenByUserID = async (userID, _request, _reply) => {142 try {143 const data = await authSchema.findOne({ user: userID });144 if (!data) {145 return false;146 }147 return data148 } catch (err) {149 _request.log.error(err);150 return send(_request, _reply, 'Internal server error', 500);151 }152}153const generarToken = async (user, _request, _reply) => {154 try {155 const payload = {156 user: {157 user_id: user._id,158 user_name: user.fullName,159 user_email: user.email,160 user_role: user.role.name161 },162 }163 await upUser(user);164 const token = await _reply.jwtSign(payload, {165 expiresIn: process.env.CADUCIDAD_TOKEN166 });167 return token;168 } catch (err) {169 _request.log.error(err);170 return send(_request, _reply, 'Internal server error', 500);171 }172}...

Full Screen

Full Screen

module.ctrl.js

Source:module.ctrl.js Github

copy

Full Screen

1'use strict';2const moduleCtrl = {};3const _ = require('underscore');4const moduleSchema = require('./module.schema');5const { isValidObjectId } = require('../../helpers');6const ModulesEnum = require('./module.enum');7const { send } = require('../../helpers/response');8const { validatePagination, validateId } = require('../../helpers/validations');9const { validateModuleCreate } = require('./module.validation');10moduleCtrl.getAllModules = async (_request, _reply) => {11 const { limit = 5, page = 0, status = true } = _request.query;12 const { error } = validatePagination(limit, page, status);13 if (error) {14 return send(_request, _reply, error.details, 401);15 }16 try {17 const [total, modules] = await Promise.all([18 moduleSchema.countDocuments({ status }),19 moduleSchema.find({ status })20 .skip(Number(page))21 .limit(Number(limit))22 ]);23 return send(_request, _reply, 'ok', 200, {24 total,25 modules26 });27 } catch (err) {28 _request.log.error(err);29 return send(_request, _reply, 'Internal server error', 500);30 }31};32moduleCtrl.getModule = async (_request, _reply) => {33 try {34 const id = _request.params.id;35 const { error } = validateId(id);36 if (error) {37 return send(_request, _reply, error.details, 401);38 }39 isValidObjectId(id, _request, _reply);40 const module = await moduleSchema.findOne({ _id: id, status: true });41 if (!module) {42 return send(_request, _reply, 'The module does not exist', 401);43 }44 return send(_request, _reply, 'ok', 200, module);45 } catch (err) {46 _request.log.error(err);47 return send(_request, _reply, 'Internal server error', 500);48 }49};50moduleCtrl.addModule = async (_request, _reply) => {51 try {52 const body = _.pick(_request.body, ['name', 'description']);53 const { error } = validateModuleCreate(body.name, body.description);54 if (error) {55 return send(_request, _reply, error.details, 401);56 }57 const existModule = await getModuleByName(body.name, _request, _reply);58 if (existModule) return send(_request, _reply, 'This module already exists', 401);59 const module = new moduleSchema({ name: body.name, description: body.description });60 await module.save();61 return send(_request, _reply, 'ok', 201, module);62 } catch (err) {63 _request.log.error(err);64 return send(_request, _reply, 'Internal server error', 500);65 }66};67moduleCtrl.updateModule = async (_request, _reply) => {68 try {69 const id = _request.params.id;70 const { error: errorid } = validateId(id);71 if (errorid) {72 return send(_request, _reply, error.details, 401);73 }74 isValidObjectId(id, _request, _reply);75 const body = _.pick(_request.body, ['name', 'description']);76 const { error } = validateModuleCreate(body.name, body.description);77 if (error) {78 return send(_request, _reply, error.details, 401);79 }80 const moduleUpdate = await moduleSchema.findByIdAndUpdate(id, body, {81 new: true82 });83 return send(_request, _reply, 'ok', 201, moduleUpdate);84 } catch (err) {85 _request.log.error(err);86 return send(_request, _reply, 'Internal server error', 500);87 }88};89moduleCtrl.deleteModule = async (_request, _reply) => {90 try {91 const id = _request.params.id;92 const { error } = validateId(id);93 if (error) {94 return send(_request, _reply, error.details, 401);95 }96 isValidObjectId(id, _request, _reply);97 const eliminaLogica = { status: false };98 const moduleDelete = await moduleSchema.findByIdAndUpdate(id, eliminaLogica, { new: true });99 return send(_request, _reply, 'ok', 200, moduleDelete);100 } catch (err) {101 _request.log.error(err);102 return send(_request, _reply, 'Internal server error', 500);103 }104};105const getModuleByName = async (moduleName, _request, _reply) => {106 try {107 const oneModule = await moduleSchema.findOne({ name: moduleName });108 return oneModule;109 } catch (err) {110 _request.log.error(err);111 return send(_request, _reply, 'Internal server error', 500);112 }113};114const getModuleById = async (id, _request, _reply) => {115 await isValidObjectId(id, _request, _reply);116 try {117 const module = await moduleSchema.findById(id);118 if (!module) {119 return send(_request, _reply, 'Module does not exist', 401);120 }121 return module;122 } catch (error) {123 _request.log.error(err);124 return send(_request, _reply, 'Internal server error', 500);125 }126}127const createModulesInit = async (_fastify) => {128 try {129 const count = await moduleSchema.estimatedDocumentCount();130 if (count > 0) return;131 const values = await Promise.all([132 new moduleSchema({ name: ModulesEnum.AUTH.name, description: ModulesEnum.AUTH.description }).save(),133 new moduleSchema({ name: ModulesEnum.ROLES.name, description: ModulesEnum.ROLES.description }).save(),134 new moduleSchema({ name: ModulesEnum.PERMISSIONS.name, description: ModulesEnum.PERMISSIONS.description }).save(),135 new moduleSchema({ name: ModulesEnum.USERS.name, description: ModulesEnum.USERS.description }).save(),136 new moduleSchema({ name: ModulesEnum.MODULES.name, description: ModulesEnum.MODULES.description }).save(),137 new moduleSchema({ name: ModulesEnum.PROFILE.name, description: ModulesEnum.PROFILE.description }).save()138 ]);139 _fastify.log.info('Successfully created modules')140 } catch (error) {141 _fastify.log.error(error);142 }143};...

Full Screen

Full Screen

reply.js

Source:reply.js Github

copy

Full Screen

1import "./vote-section.js";2class Reply extends HTMLElement3{4 constructor(){5 super();6 this.attachShadow({mode:"open"});7 }8 set reply(value) {9 this._reply = value;10 }11 getTemplate(){12 let template = document.createElement("template");13 template.innerHTML = 14 `15 <article id="comment_${this._reply.id}" class="comment">16 <header class="comment__header">17 <div class="comment__user">18 <div class="comment__photo">19 <img class="comment__photo-img"20 src="${this._reply.user.image.png}" 21 alt="photo of ${this._reply.user.username}">22 </div>23 <h3 class="comment__name">24 ${this._reply.user.username}25 </h3>26 </div>27 <p class="comment__date">28 ${this._reply.createdAt}29 </p>30 </header>31 <p class="comment__content">32 <span class="comment__replyingTo">@${this._reply.replyingTo}</span>33 ${this._reply.content}34 </p> 35 <aside class="comment__aside">36 <vote-section comment-id="${this._reply.id}" score="${this._reply.score}"></vote-section>37 </aside>38 <footer class="comment__footer">39 <button id="reply-botton_${this._reply.id}" class="comment__reply-botton">40 <img class="comment__reply-icon" src="./images/icon-reply.svg" alt="reply icon">41 <span class="comment__reply-text">Reply</span>42 </button>43 </footer>44 </article> 45 ${this.getStyles()}46 `;47 return template;48 }49 getStyles(){50 return `51 <style>52 *{53 box-sizing: border-box;54 }55 :host{56 }57 p{58 margin:0;59 }60 .comment{61 background-color: white;62 padding: 1.5em;63 margin-bottom: 1em;64 display: grid;65 grid-template-columns: 1fr 1fr;66 grid-template-rows: auto;67 grid-template-areas: 68 "header header"69 "main main"70 "aside footer";71 72 }73 .replies {74 padding-left: 1em;75 }76 .comment__header{77 display: flex;78 align-items: center;79 grid-area: header;80 }81 .comment__user82 {83 display: flex;84 align-items: center;85 }86 .comment__name87 {88 margin: 0;89 padding: 0 0.5em;90 color: var(--title-letter-color);91 font-size: 1em;92 }93 .comment__photo94 {95 width: 2em;96 }97 .comment__photo-img{98 width: 100%;99 }100 .comment__content{101 grid-area: main;102 color: var(--content-letter-color);103 line-height: 1.5em;104 padding: 1em 0;105 }106 .comment__aside{107 grid-area: aside;108 display: flex;109 align-items: center;110 }111 .comment__footer{112 grid-area: footer;113 display: flex;114 justify-content: flex-end;115 align-items: center;116 }117 .comment__date{118 color: var(--content-letter-color);119 }120 .comment__reply-botton{121 background: none;122 border: none;123 color: var(--functional-letter-color);124 cursor: pointer;125 }126 .comment__reply-text{127 font-family: var(--primary-font);128 font-weight: 500;129 font-size: 1.17em;130 }131 .comment__reply-icon{132 width: 0.85em;133 margin-right: 0.2em;134 }135 .comment__reply-botton:hover *{136 opacity: 0.7;137 }138 .comment__replyingTo{139 color: var(--functional-letter-color);140 font-weight: 500;141 }142 @media (min-width: 375px) {143 .comment{144 grid-template-columns: 3em 3fr 1fr;145 grid-template-areas: 146 "aside header footer"147 "aside main main";148 }149 .comment__content{150 padding: 0;151 }152 }153 </style>154 `;155 }156 replyThisReply(){157 158 const replyEvent = new CustomEvent("replyEvent", {159 detail: {160 id: this._reply.id,161 username: this._reply.user.username162 },163 bubbles: true,164 composed: true165 });166 this.dispatchEvent(replyEvent);167 }168 inicializeDOMElements(){169 this.replyButton = this.shadowRoot.querySelector(`#reply-botton_${this._reply.id}`);170 this.replyButton.onclick = () => this.replyThisReply();171 }172 render(){173 this.shadowRoot.appendChild(this.getTemplate().content.cloneNode(true));174 }175 connectedCallback(){176 this.render();177 this.inicializeDOMElements();178 }179 disconnectedCallback() {180 this.replyButton.onclick = null;181 }182}...

Full Screen

Full Screen

tes.js

Source:tes.js Github

copy

Full Screen

1├ ${prefix}asupan2├ ${prefix}asupan23├ ${prefix}asupant34├ ${prefix}cecan5├ ${prefix}santuy6├ ${prefix}hijaber7├ ${prefix}ukty8├ ${prefix}bocil9├ ${prefix}ghea1011//MARKER12├ ${prefix}foliokanan [ _text_ ]13├ ${prefix}foliokiri [ _text_ ]14├ ${prefix}nuliskanan [ _text_ ]15├ ${prefix}nuliskiri [ _text_ ]16├ ${prefix}maker [ _text_ ]17├ ${prefix}maker2 [ _text_ ]18├ ${prefix}maker3 [ _text_ ]19├ ${prefix}maker4 [ _text_ ]20├ ${prefix}maker2d2 [ _text_ ]21├ ${prefix}maker2d3 [ _text_ ]22├ ${prefix}maker2d4 [ _text_ ]23├ ${prefix}maker3d [ _text_ ]24├ ${prefix}maker3d2 [ _text_ ]25├ ${prefix}maker3d3 [ _text_ ]26├ ${prefix}maker3d4 [ _text_ ]27├ ${prefix}transformer [ _text_ ]28├ ${prefix}googletxt [ _text_ ]29├ ${prefix}battlefield [ _text_ ]30├ ${prefix}coffeecup [ _text_ ]31├ ${prefix}coffeecup2 [ _text_ ]32├ ${prefix}neon [ _text_ ]33├ ${prefix}glow [ _text_ ]34├ ${prefix}summer [ _text_ ]35├ ${prefix}flower [ _text_ ]36├ ${prefix}burn [ _text_ ]37├ ${prefix}quote [ _text_ ]38├ ${prefix}wooden [ _text_ ]39├ ${prefix}golden [ _text_ ]40├ ${prefix}passed [ _reply gambar_ ]41├ ${prefix}gay [ _reply gambar_ ]42├ ${prefix}glass [ _reply gambar_ ]43├ ${prefix}sampah [ _reply gambar_ ]44├ ${prefix}trigger [ _reply gambar_ ]45├ ${prefix}greyscale [ _reply gambar_ ]46├ ${prefix}hijau [ _reply gambar_ ]47├ ${prefix}biru [ _reply gambar_ ]48├ ${prefix}comrade [ _reply gambar_ ]49├ ${prefix}jail [ _reply gambar_ ]50├ ${prefix}blurple2 [ _reply gambar_ ]51├ ${prefix}red [ _reply gambar_ ]52├ ${prefix}blurple [ _reply gambar_ ]53├ ${prefix}invert [ _reply gambar_ ]54├ ${prefix}invert_greyscale [ _reply gambar_ ]55├ ${prefix}sepia [ _reply gambar_ ]56├ ${prefix}pelangi [ _reply gambar_ ]57├ ${prefix}wasted [ _reply gambar_ ]5859//DOWNLOAD60├ ${prefix}playstore [ _search_ ]61├ ${prefix}tiktokaudio [ _link_ ]62├ ${prefix}brainly [ _search_ ]63├ ${prefix}igstory [ _search_ ]64├ ${prefix}igstalk [ _link_ ]65├ ${prefix}twitter [ _link_ ]66├ ${prefix}twmp3 [ _link_ ]67├ ${prefix}linkwa [ _search_ ]68├ ${prefix}fb [ _link_ ]69├ ${prefix}chara [ _search_ ]70├ ${prefix}otaku [ _search_ ]71├ ${prefix}komiku [ _search_ ]7273//OWNER74├ ${prefix}readall75├ ${prefix}unreadall76├ ${prefix}archive77├ ${prefix}unarchiveall78├ ${prefix}pin79├ ${prefix}unpin80├ ${prefix}setmenu [ _ori/simpel_ ]81├ ${prefix}setallmenu [ _ori/simpel_ ]82├ ${prefix}leavetime [ _detik/menit/jam_ ]83├ ${prefix}bukatime [ _detik/menit/jam_ ]84├ ${prefix}tutuptime [ _detik/menit/jam_ ]85├ ${prefix}nano [ _nama file_ ]8687├ ${prefix}rate88├ ${prefix}kapankah89├ ${prefix}apakah90├ ${prefix}bisakah919293949596979899 ...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { _reply } from 'cypress/types/sinon'2describe('My First Test', function() {3 it('Does not do much!', function() {4 cy.contains('type').click()5 cy.url().should('include', '/commands/actions')6 cy.get('.action-email').type('

Full Screen

Using AI Code Generation

copy

Full Screen

1Cypress.Commands.add('_reply', () => {2 cy.server()3 cy.route({4 })5})6describe('Test', () => {7 it('test', () => {8 cy._reply()9 cy.get('#email').type('

Full Screen

Using AI Code Generation

copy

Full Screen

1cy._reply(200, { foo: 'bar' })2import './commands'3Cypress.Commands.add('_reply', (statusCode, body) => {4 cy.server()5 cy.route({6 })7})8describe('Test', () => {9 it('should work', () => {10 cy.get('button').click()11 cy.get('h1').should('have.text', 'bar')12 })13})14import React from 'react';15import { shallow } from 'enzyme';16import App from './App';17describe('App', () => {18 let wrapper;19 beforeEach(() => {20 wrapper = shallow(<App />);21 });22 it('should render correctly', () => {23 expect(wrapper).toMatchSnapshot();24 });25});26 at Object.toMatchSnapshot (node_modules/expect/build/index.js:159:20)27 at Object.<anonymous> (src/App.test.js:10:24)

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('Test', () => {2 it('test', () => {3 cy.server();4 cy.route({5 response: {6 }7 }).as('test');8 cy.wait('@test');9 cy.get('button').click();10 cy.get('p').should('contain', 'bar');11 });12});13import { Component, OnInit } from '@angular/core';14import { HttpClient } from '@angular/common/http';15@Component({16})17export class TestComponent implements OnInit {18 constructor(private http: HttpClient) {}19 ngOnInit() {}20 test() {21 this.http.post('api/test', {}).subscribe(result => {22 console.log(result);23 });24 }25}26<button (click)="test()">test</button>27import { async, ComponentFixture, TestBed } from '@angular/core/testing';28import { TestComponent } from './test.component';29describe('TestComponent', () => {30 let component: TestComponent;31 let fixture: ComponentFixture<TestComponent>;32 beforeEach(async(() => {33 TestBed.configureTestingModule({34 }).compileComponents();35 }));36 beforeEach(() => {37 fixture = TestBed.createComponent(TestComponent);38 component = fixture.componentInstance;39 fixture.detectChanges();40 });41 it('should create', () => {42 expect(component).toBeTruthy();43 });44});45import { NgModule } from '@angular/core';46import { CommonModule } from '@angular/common';47import { TestComponent } from './test.component';48import { HttpClientModule } from '@angular/common/http';49@NgModule({50 imports: [CommonModule, HttpClientModule],

Full Screen

Using AI Code Generation

copy

Full Screen

1cy._reply('some string')2Cypress.Commands.add('_reply', (str) => {3 cy.window().then((window) => {4 window.postMessage(str, '*')5 })6})7Cypress.on('window:before:load', (win) => {8 cy.stub(win, 'postMessage', (str) => {9 console.log('postMessage called with:', str)10 })11})12Cypress.on('window:load', (win) => {13 cy.stub(win, 'postMessage', (str) => {14 console.log('postMessage called with:', str)15 })16})17Cypress.on('window:unload', (win) => {18 cy.stub(win, 'postMessage', (str) => {19 console.log('postMessage called with:', str)20 })21})22Cypress.on('window:after:load', (win) => {23 cy.stub(win, 'postMessage', (str) => {24 console.log('postMessage called with:', str)25 })26})27Cypress.on('window:before:unload', (win) => {28 cy.stub(win, 'postMessage', (str) => {29 console.log('postMessage called with:', str)30 })31})32Cypress.on('uncaught:exception', (err, runnable) => {33})34Cypress.on('fail', (err, runnable) => {35})36Cypress.on('test:before:run', (attributes, test) => {37})38Cypress.on('test:after:run', (attributes, test, runnable) => {39})40Cypress.on('test:after:run:async', (attributes, test, runnable) => {41})42Cypress.on('test:before:run:async', (attributes, test) => {

Full Screen

Using AI Code Generation

copy

Full Screen

1const chai = require('chai');2const expect = chai.expect;3const chaiAsPromised = require('chai-as-promised');4chai.use(chaiAsPromised);5describe('test', function() {6 it('should have the correct title', function() {7 cy.title().should('include', 'Kitchen Sink');8 });9});10describe('test', function() {11 it('should have the correct title', function() {12 cy.title().should('include', 'Kitchen Sink');13 });14});15module.exports = (on, config) => {16}17Cypress.Commands.add('login', (email, password) => { ... })18import './commands'19{20}21{22 "dependencies": {23 },24 "devDependencies": {},25 "scripts": {26 },27}28{29 "compilerOptions": {30 },

Full Screen

Using AI Code Generation

copy

Full Screen

1Cypress.Commands.add('_reply', (message, reply) => { 2 cy.get('.message-input').type(message).type('{enter}').wait(1000)3 cy.get('.message-input').type(reply).type('{enter}').wait(1000)4 cy.get('.message-input').clear()5})6describe('Test', () => {7 it('Reply', () => {8 cy.wait(5000)9 cy._reply('Hello', 'How are you?')10 })11})12Your name to display (optional):

Full Screen

Using AI Code Generation

copy

Full Screen

1cy.route('/api/users', 'fixture:users.json').as('users')2cy.visit('/users')3cy.wait('@users')4cy.get('@users').should('have.property', 'status', 200)5cy.get('@users').its('response.body').should('have.length', 3)6cy.get('@users').its('response.body').should('deep.equal', [7 { id: 1, name: 'John Doe' },8 { id: 2, name: 'Jane Doe' },9 { id: 3, name: 'Jill Doe' },10describe('Users Page', () => {11 beforeEach(() => {12 cy.server()13 cy.route('/api/users', 'fixture:users.json').as('users')14 cy.visit('/users')15 })16 it('should display three users', () => {17 cy.wait('@users')18 cy.get('@users').should('have.property', 'status', 200)19 cy.get('@users').its('response.body').should('have.length', 3)20 cy.get('@users').its('response.body').should('deep.equal', [21 { id: 1, name: 'John Doe' },22 { id: 2, name: 'Jane Doe' },23 { id: 3, name: 'Jill Doe' },24 })25})26describe('Users Page', () => {27 beforeEach(() => {28 cy.server()29 cy.route('/api/users', 'fixture:users.json').as('users')30 cy.visit('/users')31 })32 it('should display three users', () => {33 cy.wait('@users')34 cy.get('@users').should('have.property', 'status', 200)35 cy.get('@users').its('response.body').should('have.length', 3)36 cy.get('@users').its('response.body').should('deep.equal', [37 { id: 1, name: 'John Doe' },38 { id: 2, name: 'Jane Doe' },39 { id: 3,

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('Test', () => {2 it('Test', () => {3 cy.server();4 cy.route({5 response: () => {6 return 'hello';7 }8 }).as('getContacts');9 cy.visit('/contacts');10 cy.wait('@getContacts');11 cy.contains('hello');12 });13});14Cypress.on('window:before:load', win => {15 win.fetch = null;16});17Cypress.Commands.add('_reply', (xhr, data) => {18 xhr.respond({19 headers: {20 }21 });22});23Cypress.Commands.add('_route', (method, url, response) => {24 cy.server();25 cy.route({26 response: xhr => {27 cy._reply(xhr, response);28 }29 });30});31Cypress.Commands.add('_route2', (method, url, response) => {32 cy.server();33 cy.route({34 response: () => {35 return response;36 }37 });38});39Cypress.Commands.add('route', { prevSubject: 'optional' }, (subject, method, url, response) => {40 if (subject) {41 return cy.wrap(subject).then(xhr => {42 cy._reply(xhr, response);43 });44 }45 cy._route(method, url, response);46});47Cypress.Commands.add('route2', { prevSubject: 'optional' }, (subject, method, url, response) => {48 if (subject) {49 return cy.wrap(subject).then(xhr => {50 cy._reply(xhr, response);51 });52 }53 cy._route2(method, url, response);54});55describe('Test', () => {56 it('Test', () => {57 cy.route2('GET', '/api/v1/contacts', 'hello');58 cy.visit('/contacts');59 cy.contains('hello');60 });61});

Full Screen

Cypress Tutorial

Cypress is a renowned Javascript-based open-source, easy-to-use end-to-end testing framework primarily used for testing web applications. Cypress is a relatively new player in the automation testing space and has been gaining much traction lately, as evidenced by the number of Forks (2.7K) and Stars (42.1K) for the project. LambdaTest’s Cypress Tutorial covers step-by-step guides that will help you learn from the basics till you run automation tests on LambdaTest.

Chapters:

  1. What is Cypress? -
  2. Why Cypress? - Learn why Cypress might be a good choice for testing your web applications.
  3. Features of Cypress Testing - Learn about features that make Cypress a powerful and flexible tool for testing web applications.
  4. Cypress Drawbacks - Although Cypress has many strengths, it has a few limitations that you should be aware of.
  5. Cypress Architecture - Learn more about Cypress architecture and how it is designed to be run directly in the browser, i.e., it does not have any additional servers.
  6. Browsers Supported by Cypress - Cypress is built on top of the Electron browser, supporting all modern web browsers. Learn browsers that support Cypress.
  7. Selenium vs Cypress: A Detailed Comparison - Compare and explore some key differences in terms of their design and features.
  8. Cypress Learning: Best Practices - Take a deep dive into some of the best practices you should use to avoid anti-patterns in your automation tests.
  9. How To Run Cypress Tests on LambdaTest? - Set up a LambdaTest account, and now you are all set to learn how to run Cypress tests.

Certification

You can elevate your expertise with end-to-end testing using the Cypress automation framework and stay one step ahead in your career by earning a Cypress certification. Check out our Cypress 101 Certification.

YouTube

Watch this 3 hours of complete tutorial to learn the basics of Cypress and various Cypress commands with the Cypress testing at LambdaTest.

Run Cypress automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful