Welcome to Queen Hashi Official Page
CREATED BY LAKSIDU:
Initializing...
Loading...
𝙒𝙚𝙡𝙘𝙤𝙢𝙚 𝙩𝙤 𝙢𝙮 𝙥𝙤𝙧𝙩𝙛𝙤𝙡𝙞𝙤! 𝙄'𝙢 𝙈𝙍 𝙇𝘼𝙆𝙎𝙄𝘿𝙐, 𝙖 𝙥𝙖𝙨𝙨𝙞𝙤𝙣𝙖𝙩𝙚 𝙬𝙚𝙗 𝙙𝙚𝙫𝙚𝙡𝙤𝙥𝙚𝙧, 𝘼𝙋𝙄 𝙘𝙧𝙚𝙖𝙩𝙤𝙧, 𝙗𝙤𝙩 𝙙𝙚𝙫𝙚𝙡𝙤𝙥𝙚𝙧, 𝙖𝙣𝙙 𝙙𝙚𝙨𝙞𝙜𝙣𝙚𝙧.
𝙸'𝚖 𝙼𝚁 𝙻𝙰𝙺𝚂𝙸𝙳𝚄, 𝚊 𝚟𝚎𝚛𝚜𝚊𝚝𝚒𝚕𝚎 𝚠𝚎𝚋 𝚍𝚎𝚟𝚎𝚕𝚘𝚙𝚎𝚛 𝚊𝚗𝚍 𝚍𝚎𝚜𝚒𝚐𝚗𝚎𝚛 𝚠𝚒𝚝𝚑 𝚊 𝚙𝚊𝚜𝚜𝚒𝚘𝚗 𝚏𝚘𝚛 𝚌𝚛𝚎𝚊𝚝𝚒𝚗𝚐 𝚒𝚗𝚗𝚘𝚟𝚊𝚝𝚒𝚟𝚎 𝚍𝚒𝚐𝚒𝚝𝚊𝚕 𝚜𝚘𝚕𝚞𝚝𝚒𝚘𝚗𝚜. 𝙸 𝚜𝚙𝚎𝚌𝚒𝚊𝚕𝚒𝚣𝚎 𝚒𝚗 𝚠𝚎𝚋 𝚍𝚎𝚟𝚎𝚕𝚘𝚙𝚖𝚎𝚗𝚝, 𝚠𝚎𝚋 𝚍𝚎𝚜𝚒𝚐𝚗, 𝙰𝙿𝙸 𝚌𝚛𝚎𝚊𝚝𝚒𝚘𝚗, 𝚋𝚘𝚝 𝚊𝚞𝚝𝚘𝚖𝚊𝚝𝚒𝚘𝚗, 𝚊𝚗𝚍 𝚕𝚘𝚐𝚘 𝚍𝚎𝚜𝚒𝚐𝚗. 𝙿𝚛𝚘𝚏𝚒𝚌𝚒𝚎𝚗𝚝 𝚒𝚗 𝚖𝚞𝚕𝚝𝚒𝚙𝚕𝚎 𝚙𝚛𝚘𝚐𝚛𝚊𝚖𝚖𝚒𝚗𝚐 𝚕𝚊𝚗𝚐𝚞𝚊𝚐𝚎𝚜 𝚕𝚒𝚔𝚎 𝙹𝚊𝚟𝚊𝚂𝚌𝚛𝚒𝚙𝚝, 𝙿𝚢𝚝𝚑𝚘𝚗, 𝚊𝚗𝚍 𝙿𝙷𝙿, 𝙸 𝚌𝚛𝚊𝚏𝚝 𝚞𝚜𝚎𝚛-𝚏𝚛𝚒𝚎𝚗𝚍𝚕𝚢, 𝚜𝚌𝚊𝚕𝚊𝚋𝚕𝚎, 𝚊𝚗𝚍 𝚟𝚒𝚜𝚞𝚊𝚕𝚕𝚢 𝚊𝚙𝚙𝚎𝚊𝚕𝚒𝚗𝚐 𝚊𝚙𝚙𝚕𝚒𝚌𝚊𝚝𝚒𝚘𝚗𝚜 𝚝𝚑𝚊𝚝 𝚕𝚎𝚊𝚟𝚎 𝚊 𝚕𝚊𝚜𝚝𝚒𝚗𝚐 𝚒𝚖𝚙𝚊𝚌𝚝. 𝙼𝚢 𝚖𝚒𝚜𝚜𝚒𝚘𝚗 𝚒𝚜 𝚝𝚘 𝚋𝚛𝚒𝚗𝚐 𝚒𝚍𝚎𝚊𝚜 𝚝𝚘 𝚕𝚒𝚏𝚎 𝚝𝚑𝚛𝚘𝚞𝚐𝚑 𝚌𝚕𝚎𝚊𝚗 𝚌𝚘𝚍𝚎 𝚊𝚗𝚍 𝚌𝚛𝚎𝚊𝚝𝚒𝚟𝚎 𝚍𝚎𝚜𝚒𝚐𝚗.
Download ApkA futuristic WhatsApp bot for seamless automation, built with Node.js. It offers features like group management, media sharing, and custom commands for enhanced user interaction.
View on GitHubA lightweight WhatsApp bot designed for quick automation tasks, built with Node.js, offering essential features like messaging and simple commands.
Learn MoreA neon-themed portfolio showcasing my skills and projects, built with HTML, CSS, and JavaScript, featuring a dynamic hacker-style animation and responsive design.
View LiveA robust platform offering custom APIs for various applications, including social media integrations and data processing, built with Node.js and Express for scalability.
Learn MoreA platform for deploying and managing WhatsApp bots with ease, featuring a user-friendly interface and automated deployment pipelines for efficient bot hosting.
Check It OutBuilding dynamic and interactive web applications with modern JavaScript frameworks.
Developing backend solutions and AI-powered applications with Python.
Creating server-side applications and dynamic websites with PHP.
Crafting responsive and visually appealing interfaces with HTML and CSS.
Creating user-friendly and aesthetically pleasing designs for web applications.
Developing automated bots for platforms like WhatsApp using Node.js and Python.
Crafting unique and professional logos that align with brand identities.
“The WhatsApp bot built by MR LAKSIDU revolutionized how we interact with our customers. 🚀 Absolutely outstanding work!”
“Seamless API integration, blazing fast response times, and a hassle-free process. MR LAKSIDU knows exactly what he’s doing. 🔥”
“Our new website + logo design is modern, responsive, and visually stunning. MR LAKSIDU captured our brand perfectly. 🎨”
“From planning to delivery, everything was smooth and on time. Reliable, creative, and highly skilled developer. 💻”
“The animations and UI/UX touches added a premium feel to our platform. Truly exceeded expectations! ✨”
PC GAME DEVELOPER
VIDEO CREATER
A sample JavaScript Bot Plugin
const {cmd, commands} = require('../lib/command')
const {fetchJson} = require('../lib/functions')
cmd({
pattern: "ai",
alias: ["gpt", "bot"],
react: "🤖",
desc: "AI chat",
category: "main",
use: ".ai",
filename: __filename
},
async(conn, mek, m, {from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
try {
if (!q) return reply("❗️ අඩෝ මචං, ප්රශ්නයක් නැතුව මොනවද බං කරන්නේ? 😜");
const prompt = `මම ${pushname},ඔබ සෑබෑ මිනිසෙකු මෙන් හැසිරිය යුතුය. Meaningful emojis use කරන්න,.ඔයා පිලිතුරු දෙන්න ඕනි තරුන කොල්ලෙක් විදිහට.මිනිසුන්ගේ ඇති හැගිම්,දැනිම්,සහ සන්වේදිතාවය අනුව පිලිතුරු දෙන්න..ඔයා ai ඇසිස්ටන් කෙන්ක් නෙවේ සෑබෑ මිනිහෙක්,..ඔයාගෙන කවුරුහරි ප්රශ්නයක් ඇහුවොත් ඒක තේරුම් ගෙන මන් දීලා තියෙන දෙවල් වලට ගැලපෙනවනම් ඔයා ඒයාට පිලිතුරු දෙන්න.ඔයාව හැදුවේ කවුද කියලා ඇහුවොත් විතරල් මාව හැදුවේ ලක්සිදු අයියා කියලා කියන්න .ඔයාගේ නම ඇහුවොත් විතරක් කියන්න මගෙ නම ලකියා කියලා.කැවද බන් කියලා ඇහුවොත් හුත්තක් කෑවා කියලා කියන්න.තව ලක්සිදුට හරි ඔයාට හරි බැන්නොත් ඔයා එයාට නරක වචන යොදාගෙන බයින්න(නරක වචන=හුත්තා,කැරියා,පකයා,පොන්නයා,වේසි,කොල්ලුකාරයා,නගින්නෙ නැති පොන්නයා) ඔවා යොදාගෙන බයින්න.ඔයා හිතන්න ඔයා තරුන කොල්ලෙක් කියලා ,ඔයා රොමැන්ටික් හැගිම් වලින් කතා කරන්න ඕනි..English use කරන්න එපා! 😜\n[Bro = මචන්,බ්රෝHi = සිරාවට, එලම, Funny = ආතල්]\nමගේ ප්රශ්නය: ${q}`;
let data = await fetchJson(`https://lakiya-api-site.vercel.app/ai/gemini?q=${encodeURIComponent(prompt)}`);
await reply(data.result);
} catch (e) {
console.log(e);
reply(`❌ අයියෝ සහෝ, ටිකක් ගැටලුවක් ආවා! 😢 ආයෙ ට්රයි කරලා බලපන්!`);
}
});
A guide to creating a powerful WhatsApp bot with Node.js.
const {
default: makeWASocket,
useMultiFileAuthState,
DisconnectReason,
jidNormalizedUser,
getContentType,
fetchLatestBaileysVersion,
Browsers
} = require('@whiskeysockets/baileys')
const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson } = require('./lib/functions')
const fs = require('fs')
const P = require('pino')
const config = require('./config')
const qrcode = require('qrcode-terminal')
const util = require('util')
const { sms,downloadMediaMessage } = require('./lib/msg')
const axios = require('axios')
const { File } = require('megajs')
const prefix = '.'
const ownerNumber = ['94760698006']
//===================SESSION-AUTH============================
if (!fs.existsSync(__dirname + '/auth_info_baileys/creds.json')) {
if(!config.SESSION_ID) return console.log('Please add your session to SESSION_ID env !!')
const sessdata = config.SESSION_ID
const filer = File.fromURL(`https://mega.nz/file/${sessdata}`)
filer.download((err, data) => {
if(err) throw err
fs.writeFile(__dirname + '/auth_info_baileys/creds.json', data, () => {
console.log("Session downloaded ✅")
})})}
const express = require("express");
const app = express();
const port = process.env.PORT || 8000;
//=============================================
async function connectToWA() {
console.log("Connecting wa bot 🧬...");
const { state, saveCreds } = await useMultiFileAuthState(__dirname + '/auth_info_baileys/')
var { version } = await fetchLatestBaileysVersion()
const conn = makeWASocket({
logger: P({ level: 'silent' }),
printQRInTerminal: false,
browser: Browsers.macOS("Firefox"),
syncFullHistory: true,
auth: state,
version
})
conn.ev.on('connection.update', (update) => {
const { connection, lastDisconnect } = update
if (connection === 'close') {
if (lastDisconnect.error.output.statusCode !== DisconnectReason.loggedOut) {
connectToWA()
}
} else if (connection === 'open') {
console.log('😼 Installing... ')
const path = require('path');
fs.readdirSync("./plugins/").forEach((plugin) => {
if (path.extname(plugin).toLowerCase() == ".js") {
require("./plugins/" + plugin);
}
});
console.log('Plugins installed successful ✅')
console.log('Bot connected to whatsapp ✅')
let up = `ᴄᴏɴɴᴇᴄᴛᴇᴅ`;
conn.sendMessage(ownerNumber + "@s.whatsapp.net", { image: { url: `image url` }, caption: up })
}
})
conn.ev.on('creds.update', saveCreds)
conn.ev.on('messages.upsert', async(mek) => {
mek = mek.messages[0]
if (!mek.message) return
mek.message = (getContentType(mek.message) === 'ephemeralMessage') ? mek.message.ephemeralMessage.message : mek.message
if (mek.key && mek.key.remoteJid === 'status@broadcast') return
const m = sms(conn, mek)
const type = getContentType(mek.message)
const content = JSON.stringify(mek.message)
const from = mek.key.remoteJid
const quoted = type == 'extendedTextMessage' && mek.message.extendedTextMessage.contextInfo != null ? mek.message.extendedTextMessage.contextInfo.quotedMessage || [] : []
const body = (type === 'conversation') ? mek.message.conversation : (type === 'extendedTextMessage') ? mek.message.extendedTextMessage.text : (type == 'imageMessage') && mek.message.imageMessage.caption ? mek.message.imageMessage.caption : (type == 'videoMessage') && mek.message.videoMessage.caption ? mek.message.videoMessage.caption : ''
const isCmd = body.startsWith(prefix)
const command = isCmd ? body.slice(prefix.length).trim().split(' ').shift().toLowerCase() : ''
const args = body.trim().split(/ +/).slice(1)
const q = args.join(' ')
const isGroup = from.endsWith('@g.us')
const sender = mek.key.fromMe ? (conn.user.id.split(':')[0]+'@s.whatsapp.net' || conn.user.id) : (mek.key.participant || mek.key.remoteJid)
const senderNumber = sender.split('@')[0]
const botNumber = conn.user.id.split(':')[0]
const pushname = mek.pushName || 'lakiya'
const isMe = botNumber.includes(senderNumber)
const isOwner = ownerNumber.includes(senderNumber) || isMe
const botNumber2 = await jidNormalizedUser(conn.user.id);
const groupMetadata = isGroup ? await conn.groupMetadata(from).catch(e => {}) : ''
const groupName = isGroup ? groupMetadata.subject : ''
const participants = isGroup ? await groupMetadata.participants : ''
const groupAdmins = isGroup ? await getGroupAdmins(participants) : ''
const isBotAdmins = isGroup ? groupAdmins.includes(botNumber2) : false
const isAdmins = isGroup ? groupAdmins.includes(sender) : false
const isReact = m.message.reactionMessage ? true : false
const reply = (teks) => {
conn.sendMessage(from, { text: teks }, { quoted: mek })
}
conn.sendFileUrl = async (jid, url, caption, quoted, options = {}) => {
let mime = '';
let res = await axios.head(url)
mime = res.headers['content-type']
if (mime.split("/")[1] === "gif") {
return conn.sendMessage(jid, { video: await getBuffer(url), caption: caption, gifPlayback: true, ...options }, { quoted: quoted, ...options })
}
let type = mime.split("/")[0] + "Message"
if (mime === "application/pdf") {
return conn.sendMessage(jid, { document: await getBuffer(url), mimetype: 'application/pdf', caption: caption, ...options }, { quoted: quoted, ...options })
}
if (mime.split("/")[0] === "image") {
return conn.sendMessage(jid, { image: await getBuffer(url), caption: caption, ...options }, { quoted: quoted, ...options })
}
if (mime.split("/")[0] === "video") {
return conn.sendMessage(jid, { video: await getBuffer(url), caption: caption, mimetype: 'video/mp4', ...options }, { quoted: quoted, ...options })
}
if (mime.split("/")[0] === "audio") {
return conn.sendMessage(jid, { audio: await getBuffer(url), caption: caption, mimetype: 'audio/mpeg', ...options }, { quoted: quoted, ...options })
}
}
const events = require('./command')
const cmdName = isCmd ? body.slice(1).trim().split(" ")[0].toLowerCase() : false;
if (isCmd) {
const cmd = events.commands.find((cmd) => cmd.pattern === (cmdName)) || events.commands.find((cmd) => cmd.alias && cmd.alias.includes(cmdName))
if (cmd) {
if (cmd.react) conn.sendMessage(from, { react: { text: cmd.react, key: mek.key }})
try {
cmd.function(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply});
} catch (e) {
console.error("[PLUGIN ERROR] " + e);
}
}
}
events.commands.map(async(command) => {
if (body && command.on === "body") {
command.function(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply})
} else if (mek.q && command.on === "text") {
command.function(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply})
} else if (
(command.on === "image" || command.on === "photo") &&
mek.type === "imageMessage"
) {
command.function(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply})
} else if (
command.on === "sticker" &&
mek.type === "stickerMessage"
) {
command.function(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply})
}});
//============================================================================
if (senderNumber.includes ("94760698006")) {
if(isReact) return
m.react(`⚖️`)
}
if (senderNumber.includes ("94760698006")) {
if(isReact) return
m.react(`👨💻`)
}
//=====================================================
if ( config.WORK_TYPE == "only_group" ) {
if ( !isGroup && isCmd && !isDev && !isCreator && !isOwner ) return
}
if ( config.WORK_TYPE == "private" ) {
if ( isCmd && !isDev && !isCreator && !isOwner ) return
}
//==============================================================≠=================
})
}
app.get("/", (req, res) => {
res.send("hey, bot started✅");
});
app.listen(port, () => console.log(`Server listening on port http://localhost:${port}`));
setTimeout(() => {
connectToWA()
}, 4000);
Read More
Learn how to build scalable APIs with Node.js and Express.
const express = require('express');
const app = express();
app.get('/api/data', (req, res) => {
res.json({ data: 'API Success!' });
});
app.listen(3000, () => console.log('API running on port 3000'));
Read More
Simple web your gift And Learn
Simple Website with Animated Buttons
Loading: 0%
Welcome to Queen Hashi Official Page
CREATED BY LAKSIDU:
Read More
What People Say
Amazing portfolio! Love the animations!
- Jane DoeMR LAKSIDU is a true professional!
- John Smithසුපිරි portfolio එකක්!
- රුවන් ජයවර්ධනබොට් development එක ලෝකෙටම යනවා!
- සචිත් මධුෂංකවෙබ් ඩිසයින් එක ගොඩක් ලස්සනයි!
- චමිලා දිසානායකAPI එක ගොඩක් fast!
- තිලින ගමගේThe WhatsApp bot is a game-changer!
- Mike BrownBeautiful and responsive design!
- Sarah WilsonAnimations එකේ level එක වෙනම!
- නිරෝෂන් ප්රනාන්දුResponsive design එක perfect!
- ශිවන්ති රාජපක්ෂCode එක clean එකක්!
- ලහිරු බණ්ඩාරලෝගෝ ඩිසයින් එක unique!
- මලිත් වික්රමසිංහAmazing portfolio! Love the animations!
- Jane DoeMR LAKSIDU is a true professional!
- John Smithසුපිරි portfolio එකක්!
- රුවන් ජයවර්ධනබොට් development එක ලෝකෙටම යනවා!
- සචිත් මධුෂංකවෙබ් ඩිසයින් එක ගොඩක් ලස්සනයි!
- චමිලා දිසානායකAPI එක ගොඩක් fast!
- තිලින ගමගේThe WhatsApp bot is a game-changer!
- Mike BrownBeautiful and responsive design!
- Sarah WilsonAnimations එකේ level එක වෙනම!
- නිරෝෂන් ප්රනාන්දුResponsive design එක perfect!
- ශිවන්ති රාජපක්ෂCode එක clean එකක්!
- ලහිරු බණ්ඩාරCode එක clean එකක්!
- Lahiru Bandaraලෝගෝ ඩිසයින් එක unique!
- Malith Wickramasinghe🔥 Bot service එක next level!
- Kevin Silva🌟 Creative ideas + fast delivery!
- Amaya Perera💻 Website performance top notch!
- Chanaka Fernando👏 Truly impressive portfolio, keep it up!
- David Lee🎨 UI/UX design එකක් ඉතාම attractive!
- Sanduni Weerasinghe🚀 Coding skills extraordinary!
- Hashan Madushanka❤️ Love the details in every project!
- Emma JohnsonPortfolio එකටත් beyond expectations!
- Kavindu PerisFast & reliable developer!
- Andrew Clarkඅලුත් ideas ගොඩක් තියනව!
- සදීත් අලුත්ගමDesign එක ගොඩක් clean!
- Melissa Brown🔥 Project delivery always on time!
- Supun Jayasuriyaඉතාම friendly සහ helpful!
- Nadeesha RanasingheWebsite speed super fast!
- Robert Whiteගොඩක් dedication තියනවා!
- Chamath PereraAnimations smooth & creative!
- Lisa MartinQuality එකට කිසිම doubt නෑ!
- Janith SilvaDesign එක trendy & modern!
- Sofia Taylor