DPNAME.js file for messenger chattbot | DP EIDT BOT | couple dpz making easy

 



module.exports.config = {

  name: "dpname",

  version: "1.0.0",

  hasPermssion: 0,

  credits: "Mr Chand",

  description: "dpname maker",

  commandCategory: "dpname",

  usages: "text 1 + text 2",

  cooldowns: 1

};

module.exports.wrapText = (ctx, text, maxWidth) => {

  return new Promise((resolve) => {

    if (ctx.measureText(text).width < maxWidth) return resolve([text]);

    if (ctx.measureText("W").width > maxWidth) return resolve(null);

    const words = text.split(" ");

    const lines = [];

    let line = "";

    while (words.length > 0) {

      let split = false;

      while (ctx.measureText(words[0]).width >= maxWidth) {

        const temp = words[0];

        words[0] = temp.slice(0, -1);

        if (split) words[1] = `${temp.slice(-1)}${words[1]}`;

        else {

          split = true;

          words.splice(1, 0, temp.slice(-1));

        }

      }

      if (ctx.measureText(`${line}${words[0]}`).width < maxWidth)

        line += `${words.shift()} `;

      else {

        lines.push(line.trim());

        line = "";

      }

      if (words.length === 0) lines.push(line.trim());

    }

    return resolve(lines);

  });

};


module.exports.run = async function ({ api, event, args, Users }) {

  let { senderID, threadID, messageID } = event;

  const { loadImage, createCanvas } = require("canvas");

  const Canvas = global.nodemodule["canvas"];

  const request = require('request');

  const fs = global.nodemodule["fs-extra"];

  const axios = global.nodemodule["axios"];

  let pathImg = __dirname + `/cache/drake.png`;

  const text = args.join(" ").trim().replace(/\s+/g, " ").replace(/(\s+\=)/g, "+").replace(/\|\s+/g, "+").split("+");

  let getImage = (

    await axios.get(encodeURI(`https://i.imgur.com/Vu0AYmH.jpg`), {

      responseType: "arraybuffer",

    })

  ).data;

  fs.writeFileSync(pathImg, Buffer.from(getImage, "utf-8"));

if(!fs.existsSync(__dirname+'/cache/SVN-Arial 2.ttf')) { 

      let getfont = (await axios.get(`https://drive.google.com/u/0/uc?id=11YxymRp0y3Jle5cFBmLzwU89XNqHIZux&export=download`, { responseType: "arraybuffer" })).data;

       fs.writeFileSync(__dirname+"/cache/SVN-Arial 2.ttf", Buffer.from(getfont, "utf-8"));

    };

  let baseImage = await loadImage(pathImg);

  let canvas = createCanvas(baseImage.width, baseImage.height);

  let ctx = canvas.getContext("2d");

  ctx.drawImage(baseImage, 0, 0, canvas.width, canvas.height);

  Canvas.registerFont(__dirname+`/cache/SVN-Arial 2.ttf`, {

        family: "SVN-Arial 2"

    });

  ctx.font = "30px SVN-Arial 2";

  ctx.fillStyle = "#000000";

  ctx.textAlign = "center";

  const line = await this.wrapText(ctx, text[0], 400);

  const lines = await this.wrapText(ctx, text[1], 464);

  ctx.fillText(line.join("\n"), 320, 165)

  ctx.fillText(lines.join("\n"), 170, 340)

  ctx.beginPath();

  const imageBuffer = canvas.toBuffer();

  fs.writeFileSync(pathImg, imageBuffer);

  return api.sendMessage(

    { attachment: fs.createReadStream(pathImg) },

    threadID,

    () => fs.unlinkSync(pathImg),

    messageID

  );

};

Sim.js for Chattbot | working responder chat sim

 module.exports.config = {

    name: "sim",

    version: "1.0.0",

    hasPermssion: 0,

    credits: "ATF-TEAM",

    description: "Talk to sim",

    commandCategory: "sim",

    usages: "[ask]",

    cooldowns: 2,

};


module.exports.run = async function({ api, event, args }) {

    const axios = require("axios");

    let { messageID, threadID, senderID, body } = event;

    let tid = threadID,

    mid = messageID;

    const content = encodeURIComponent(args.join(" "));

    if (!args[0]) return api.sendMessage("Ask Anything 😒", tid, mid);

    try {

        const res = await axios.get(`https://simsimi.fun/api/v1/?lang=en&message=${content}&filter=true`);

        const respond = res.data.success;

        if (res.data.error) {

            api.sendMessage(`Error: ${res.data.error}`, tid, (error, info) => {

                if (error) {

                    console.error(error);

                }

            }, mid);

        } else {

            api.sendMessage(respond, tid, (error, info) => {

                if (error) {

                    console.error(error);

                }

            }, mid);

        }

    } catch (error) {

        console.error(error);

        api.sendMessage("An error occurred while fetching the data.", tid, mid);

    }

};

Emoji bubble Facebook account stylish accepted name | two tab emoji name | Buble names fb



 ================================


FIRST NAME


❶❹❸ ;* 3:)


LAST NAME


𓆩𓆩𝐂𝐇A͜͡𝐍D͜͡፨⚔︎⸙


================================


Frst name


❷⓿❷❷ ;* ;) :)


Last name


⸙DEVIL⸙


================================


FIRST NAME


3:) :* ❿ :* 3:) ➃⓿➃ 3:) :* ❿ :* 3:)


LAST NAME


𓆩𓆩⃝𝐂𝐇A͜͡𝐍D͜͡𓆪 ⸙»ﮩ‣ 》


================================

First name


3:) :* ❿ :* 3:) _____➃⓿➃

3:) :* ❿ :* 3:) _____➃⓿➃

3:) :* ❿ :* 3:) _____➃⓿➃

3:) :* ❿ :* 3:) _____➃⓿➃

3:) :* ❿ :* 3:) _____➃⓿➃

3:) :* ❿ :* 3:) _____➃⓿➃


Second name


༺፨ ⸽ 𝐂𝐇𝐀𝐍𝐃 ⸽ 𝐓𝐑𝐈𝐂𝐊𝐄𝐑 ⸽ ፨༻


================================


FIRST NAME :::::

㉋⓿___⓿___⓿⓶[[ :* ]❷

㉋___㉋⓿㉋___⓶[[ :* ]❷

㉋___㉋⓿㉋___⓶[[ :* ]❷

㉋___㉋⓿㉋___⓶[[ :* ]❷

㉋___㉋⓿㉋___⓶[[ :* ]❷

㉋⓿___⓿___⓿⓶[[ :* ]❷


LAST NAME ::::::


༺፨ ⸽ 𝐂𝐇𝐀𝐍𝐃 ⸽ 𝐓𝐑𝐈𝐂𝐊𝐄𝐑 ⸽ ፨༻


================================


FIRST NAME :::::


፹፹ↂ፹፹\\_____⸨𝟘︵𝟘⸩

⸨𝟘︵𝟘⸩\__㊂\_____⓶⓪⓶⓶

︻ཬↈ늅๏๏๏________½⅓¼⅕⅙

㊂\[[፯፬፯፯]]][[[፯፬፯፶]]]


LAST NAME ::::::


⸙ᶠᵇ𝛥⸙.ılı.𝐶𝐻𝐴𝑁𝐷.ılı.⁕ཞཻ༷፨⸙


================================


FIRST NAME :::::


❿___❿❿______❿❿___❿__❿ ❿__❿___❿__❿___❿__❿__❿ ❿_❿______❿______❿_❿__❿ ❿__❿____________❿__❿__❿ ❿____❿_________❿___❿__❿ ❿______❿_____❿_____❿__❿ ❿________❿_❿_______❿❿❿


LAST NAME ::::::


❮❮๏༺※❲•𝐂𝐇𝐀𝐍𝐃•❳※༻๏❯❯


================================

FIRST NAME 📛


➊④➌ <3 ➊④➌ <3 ➊④➌

➊④➌ <3 ➊④➌ <3 ➊④➌

➊④➌ <3 ➊④➌ <3 ➊④➌

➊④➌ <3 ➊④➌ <3 ➊④➌

➊④➌ <3 ➊④➌ <3 ➊④➌


LAST NAME 📛


❮❮๏༺※❲•𝐂𝐇𝐀𝐍𝐃•❳※༻๏❯❯


================================

FIRST NAME 📛


;* ➊④➌ ;) 3:) ➊④➌ 3:) ➊④➌ ;* ;) ➊④➌ 3:)  ➊④➌ 3:) 3:) ➊④➌ ;* ➊④➌ 3:) ;) ➊④➌ 3:)  ➊④➌ <3 ;) ➊④➌ <3  ➊④➌ ;* 3:) ➊④➌ 3:) ➊④➌ ➊④➌ <3 <3 ➊④➌


LAST NAME 📛


❮❮๏༺※❲•𝐂𝐇𝐀𝐍𝐃•❳※༻๏❯❯


================================


FIRST NAME 📛


︻︎︎︎︎︎︎ቶቶቶᆍᆍPR1NC3 ①/ 3:) ቶቶቶೲ፨(ᇰ___ᇰ)W⓿RLD ;* F4M⓿US ;p M⓿S7 H4CK3R CH49D(ቋ___ቋ) H3R3 ;* ᆥ❷⓿❷❷ :) ᆥ___/NO L⓿VE N⓿ PA1N___!N⓿ GA1N/ :* ቶ ፑፃ【V1P】3:) ቶቶ [B⓿Y] ⸦⓶⓿⓶⓶


LAST NAME 📛


🅛🅔卝🅖🅔🅝🅓 @() 


================================

FIRST NAME 📛


(*_*)ANYM𝟘US ** 3:) ︻❩❼❨눈

ᆕ⸰⸻⸰⸻⸰❩ :* H4CK3R ❹

CH49D ;* TH3 (*_*) 

B1GGEST :) PR0GR4M3R :D 

➋⓪➋②\\ 3:) :* \\➋⓪➋⑤ 3:)

CR4CK3R CL0N3R M4S73R M1ND3D :p 

F4MOU5 H3RO CH49D ❻❾ 

𝟚𝟘𝟚𝟞\\ 3:) :* \\𝟚𝟘𝟛𝟘 3:)


LAST NAME 📛


🅛🅔卝🅖🅔🅝🅓 @() 


================================

FIRST NAME 📛


TH3 (*_*) :) ︻❩❼❨눈ᆕ⸰

⸻⸰⸻⸰❩❩ 3:) MAF1A ❹

OWN3R ;* CH49D (*_*) 

B1GGEST :) H3CK3R :D 

➋⓪➋②\\ 3:) ;* \\➋⓪➋⑤ 3:) 

TR1CK3R K1LL3R F4MOU5 H3R0 ;p 

L4G3NT :p L3RK4 ❻❾ 

UN1KER CH49D ⸦❹⸧⸻ᆕ⸧ཪ︻


🅛🅔卝🅖🅔🅝🅓 @() 


================================

FIRST NAME 📛


(*_*) M1553S ** 3:) ︻❩❼❨눈 ᆕ⸰⸻⸰⸻⸰❩ :* CH4ND 0F ❹ CH4NDN1 ;* TH3 (*_*) F4M0U5 :) QU33N :D ➋⓪➋②\\ 3:) :* \\➋⓪➋⑤ 3:) 0F CH4ND 7H3 PAGL1 :p L4DL1 CH4ND K11 ❻❾ 𝟚𝟘𝟚𝟞\\ 3:) :* \\𝟚𝟘𝟛𝟘 3:)


LAST NAME 📛


ᶟᴥᶟ @()


================================

FIRST NAME 📛


(*_*)ANYM𝟘US ** 3:) ︻❩❼❨눈

ᆕ⸰⸻⸰⸻⸰❩ :* HACKER ❹

CHAND ;* TH3 (*_*) 

B1GGEST :) CHEETER :D 

➋⓪➋②\\ 3:) :* \\➋⓪➋⑤ 3:) 

ESS3 MT DEKH PAGL1 :p 

PYAR HO JAY3GA ❻❾ 

𝟚𝟘𝟚𝟞\\ 3:) :* \\𝟚𝟘𝟛𝟘 3:)


🅛🅔卝🅖🅔🅝🅓 @() 


================================

FIRST NAME 📛


__⓿⓿⓿______⓿⓿⓿__ ⓿__*_*_⓿__⓿_*_*__⓿ ⓿_*_*_*_*⓿*_*_*_*_⓿ _⓿_*_*_*_**_*_*_*_⓿_ ___⓿_*_*_**_*_*_⓿___ ______⓿__***__⓿_____ ________⓿**⓿________ __________⓿__________


LAST NAME 📛


༺፨ ⸽ 𝐂 ⸽ 𝐇 ⸽ 𝐀 ⸽ 𝐍 ⸽ 𝐃 ⸽ ፨༻


================================

FIRST NAME 📛


[*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*]

[*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*]

[*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*][*⓶⓪⓶⓵*]


LAST NAME 📛


༺፨ ⸽ 𝐂𝐇𝐀𝐍𝐃 ⸽ 𝐓𝐑𝐈𝐂𝐊𝐄𝐑 ⸽ ፨༻


================================

FIRST NAME 📛


3:) ;* ⓫ ;* 3:) /_____\ ⓿ 3:) ;* ⓬ ;* 3:) /_____\ ⓿ 3:) ;* ⓭ ;* 3:) /_____\ ⓿ 3:) ;* ⓮ ;* 3:) /_____\ ⓿ 3:) ;* ⓯ ;* 3:) /_____\ ⓿ 3:) ;* ⓰ ;* 3:) /_____\ ⓿


LAST NAME 📛


❮❮๏༺※❲•𝐂𝐇𝐀𝐍𝐃•❳※༻๏❯❯


================================

FIRST NAME 📛


🛜______🪼_____🫚__🫚_🩷🩷🩷 🛜____🪼__🪼__🫚__🫚_🩷____ 🛜___🪼____🪼_🫚__🫚_🩷🩷🩷 🛜___🪼____🪼_🫚__🫚_🩷____ 🛜____🪼__🪼__🫚__🫚_🩷____ 🛜🛜🛜_🪼_______🫚___🩷🩷🩷


LAST NAME 📛


❮❮๏༺※❲•𝐂𝐇𝐀𝐍𝐃•❳※༻๏❯❯


================================


FIRST NAME 📛


TH⓷🛜CH49D🩷TR1CK⓷R🪇 H⓷R⓷🫨TH⓷🪭F4M0U5 ︻ཬ(*_*)눈ᆕ⸻⸻S7❹R🫛 🪼1D🫨M❹K⓷R🩵➋⓪➋⓷🪼 🫸⦕CH➍9D🫎TR❶CK⓷R⦖🫷


LAST NAME 📛


🅛🅔卝🅖🅔🅝🅓 @() 


================================


⸦ཊྚི༑ཏྟྀ⟪፠𝐒𝔴𝔢𝔢𝔱※𝐇𝔢𝔞𝔯𝔱፠⟫ཊྚི༑ཏྟྀ⸧ __🩷⓼⓼⓼______⓼⓼⓼🩵__ 🩷⓼__*_*_⓼__⓼_*_*__⓼🩵 🩷⓼_*_*_*_*🪻*_*_*_*_⓼🩵 _🩷⓼_*_*_*_**_*_*_*_⓼🩵_ ___🩷⓼_*_*_**_*_*_⓼🩵__ ______🩷⓼__***__⓼🩵_____ __________🩷⓼🩵__________

generate any pic from messenger chattbot | get dp easy | generator any pictures


 

const axios = require("axios");


module.exports.config = {

 name: "generate",

 version: "1.0.0",

 credits: "ATF-TEAM", //IMPLEMENTED TO MIRAI FROM GOATBOAT SERVER

 description: "Create image from your text",

 commandCategory: "info",

 cooldowns: 5,

 dependencies: [],

};


module.exports.languages = {

 tl: {

  syntaxError: "⚠️ Mangyaring maglagay ng prompt",

  error: "❗ May naganap na error, mangyaring subukan muli mamaya:\n%1",

  serverError: "❗ Ang server ay sobrang abala, mangyaring subukan muli mamaya",

},

 en: {

  syntaxError: "⚠️ Please enter prompt",

  error: "❗ An error has occurred, please try again later:\n%1",

  serverError: "❗ Server is overloaded, please try again later",

 },

};


module.exports.run = async function ({ api, event, args, getText }) {

 const prompt = args.join(" ");

 if (!prompt)

  return api.sendMessage(getText("syntaxError"), event.threadID);


 try {

  const { data: imageStream } = await axios({

   url: "https://goatbotserver.onrender.com/taoanhdep/texttoimage",

   method: "POST",

   headers: {

    "Content-Type": "application/json",

   },

   data: {

    prompt,

    styleId: 28,

    aspect_ratio: "1:1",

   },

   responseType: "stream",

  });


  imageStream.path = "image.jpg";


  return api.sendMessage({

   attachment: imageStream,

  }, event.threadID);

 } catch (err) {

  return api.sendMessage(

   getText("error", err.response?.data?.message || err.message),

   event.threadID

  );

 }

};

EMOJI reply non prefix chatbot file | how to set non prefix funny text add on emojis reply

 const fs = require("fs");

module.exports.config = {

   name: "autoreact",

   version: "1.0.0",

   hasPermssion: 0,

   credits: "Mr Chand",

    description: "no prefix reply",

     commandCategory: "no prefix",

     usages: "noprefix",

    cooldowns: 0,

};

 

module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {

 let haha = event.body.toLowerCase();

  if (haha.includes("BABU") || haha.includes("JANU")){

    api.setMessageReaction("OYE", event.messageID, (err) => {}, true)

    api.sendMessage("G BABU BOLO AP KY ANA SY MUH PY SMILE AH GAI 😂 LAKN HO AP CHABAL", event.threadID,event.messageID);

  }

  if (haha.includes("Hi") || haha.includes("Hy")){

    api.sendMessage("SALAM BABU , KIA HAIL HAI <3 ", event.threadID, event.messageID)

  }

  if (haha.includes("acha") || haha.includes("ok")){

    api.sendMessage("han g babu", event.threadID, event.messageID)

  }

  if (haha.includes("good morning") || haha.includes("morning")){

    api.sendMessage("good morning aby ab konsa morning ja mera mood kharab hai", event.threadID, event.messageID)

  }

if (haha.includes("good night") || haha.includes("night")){

    api.sendMessage("aby so ja good night mobile rakh ky so ja werna ma ah jaou ga", event.threadID, event.messageID)

}

if (haha.includes("ib") || haha.includes("inbox")){

    api.sendMessage("ma bhi aou kia chupka chupka kyu bola rha us ko", event.threadID, event.messageID)

}

  if (haha.includes("kon") || haha.includes("KON")){

    api.sendMessage("ACHA ACHA TUM TO WOHI HO NAH JIS KO KOI NHI JANTA 😂 CHAL KOI NAH MA HU NA , MA BHI NHI JANTA", event.threadID, event.messageID)

      }

}

        module.exports.run = function({ api, event, client, __GLOBAL }) {

      }





=========================================

Add text code


if (haha.includes("ib") || haha.includes("inbox")){

    api.sendMessage("ma bhi aou kia chupka chupka kyu bola rha us ko", event.threadID, event.messageID)

}

========================================