diff --git a/app.json b/app.json new file mode 100644 index 00000000..93c4ad7c --- /dev/null +++ b/app.json @@ -0,0 +1,179 @@ +{ + "name": "WIA-BOT", + "description": "WIA-BOT USERBOT.", + "logo": "https://i.imgur.com/Iag22tM.jpeg", + "keywords": ["WhatsApp", "Userbot", "Raganork", "WhatsAsena", "bot", "api", "ai"], + "repository": "https://github.com/souravkl11/Raganork", + "website": "https://bit.ly/Raganork", + "success_url": "https://bit.ly/Raganork", + "stack": "container", + "env": { + "WIA_CODE": { + "description": "WIA code (QR scan cheythappo kittiya code). Type here yours Raganork code.", + "required": true + }, + "C_CODE": { + "description": "Your country code. Use 91 for India!.", + "required": true, + "value": "91" + }, + "SUDO": { + "description": "Leave blank if you don't know how to use it!", + "required": false + }, + "LANGUAGE": { + "description": "Bot language. English => en, Malayalam => ml, Hindi => HI,", + "required": true, + "value": "en" + }, + "M_REPLY": { + "description": "Auto reply when mentioned.", + "required": true, + "value":"Why do you mentioned me?" + }, + "M_REPLY_VAR": { + "description": "Auto reply true/false.", + "required": true, + "value":"true" +}, + "BGM_FILTER": { + "description": "If you likes bgm you can write 'true'. Otherwise false", + "required": false, + "value": "true" + }, + "ALL_IMG": { + "description": "Give an image link for your bot!", + "required": true, + "value": "https://i.pinimg.com/originals/0e/c8/8c/0ec88ca1469125fc11b4ce76830602f4.jpg" + }, + "DIALOGUE": { + "description": "Give an image link for your bot!", + "required": true, + "value": "Killadism never ends! (Change this)" + }, + "ALL_CAPTION": { + "description": "Give your caption here. Example: Made by Raganork.", + "required": true, + "value": "*YOUR CAPTION HERE*" + }, + "VERIFIED": { + "description": "Jid given above the verified tick. Use 0 for official WhatsApp", + "required": true, + "value": "0@s.whatsapp.net" + }, + "HANDLERS": { + "description": "Prefix for commands. (.assist, !assist ,assist)", + "required": true, + "value": "^[,@#!.]" + }, + "CHATBOT": { + "description": "Turn your account into a chatbot!", + "required": true, + "value": "false" + }, + "CALL_BLOCK": { + "description": "Set true if you need to block people who calls you ๐Ÿ“ž.", + "required": true, + "value": "false" + }, + "HEROKU_API_KEY": { + "description": "Heroku API Key. (You can find it in account settings)", + "required": true + }, + "BLOCK_CHAT": { + "description": "Choose in which chat the bot won't work there. Ex: 91xxxx && 91xxxx-1xxx or 91xxxxx,91xxxx...", + "required": false, + "value": "919074309534" + }, + "WORK_TYPE": { + "description": "Raganork bot Working Type. If you use โ€œpublicโ€, everyone can use the bot. Else if you use โ€œprivateโ€, only you can use your bot.", + "required": true, + "value": "public" + }, + "HEROKU_APP_NAME": { + "description": "Heroku APP Name.", + "required": true + }, + "REMOVE_BG_API_KEY": { + "description": "visit https://remove.bg for api key", + "required": false + }, + "ALIVE_MESSAGE": { + "description": "Customizable Alive Message! Use => default, to change back.", + "required": false, + "value": "BOT IS CURRENTLY RUNNING WITH NO ERRORS!" + }, + "BAN_MESSAGE": { + "description": "Customizable Ban Message! Use => default, to change back.", + "required": false, + "value": "_See you later!_" + }, + "SONGD": { + "description": "Customizable song uploading message!", + "required": false, + "value": "_Uploading song.._" + }, + "KICKME_MESSAGE": { + "description": "Customizable Kickme Message! Use => default, to change back.", + "required": false, + "value": "_I'm leaving, Bye!_" + }, + "SONGD": { + "description": "Customizable song downloading message!", + "required": true, + "value": "_Searching song.._" + }, + "ALL_NUMBER": { + "description": "Type your number here", + "required": false, + "value": "wa.me/919074309534" + }, + "V_HEADER": { + "description": "Shows on top of verified tick. Type any words here.", + "required": true, + "value": "Type antything here" + }, + "NO_ONLINE": { + "description": "Type true if you don't want to appear online.", + "required": false, + "value": "true" + }, + "IG": { + "description": "Your instagram link(optional)!", + "required": false, + "value": "https://instagram.com/username" + }, + "OWNER_NAME": { + "description": "Owner name used in many commands! Type your name here.", + "required": false, + "value": "๐—ข๐˜„๐—ป๐—ฒ๐—ฟ ๐—ป๐—ฎ๐—บ๐—ฒ ๐—ต๐—ฒ๐—ฟ๐—ฒ" + }, + "TAG_HEADER": { + "description": "Owner name used in many commands! Type your name here.", + "required": false, + "value": "*Hear me friends!*" + }, + "TAG_REPLY": { + "description": "Enter jid of your number so that you get a audio reply when metioned example - 91xxxxxxxxxx@s.whatsapp.net - for india", + "required": false, + "value": "916282344739@s.whatsapp.net" + }, + "ANTI_FAKE": { + "description": "Fake number auto remover (Except Indian numbers)! Give true for activating!", + "required": false, + "value": "true" + }, + "BOT_NAME": { + "description": "Your bot's name. This is very important!", + "required": false, + "value": "๐“‘๐“ž๐“ฃ ๐“๐“๐“œ๐“” ๐“—๐“”๐“ก๐“”" + + } + }, + "addons": [{ + "plan": "heroku-postgresql" + }], + "buildpacks": [{ + "url": "heroku-community/apt" + }] + } diff --git a/bot.js b/bot.js index fc103532..53e57195 100644 --- a/bot.js +++ b/bot.js @@ -115,13 +115,13 @@ ${chalk.blue.italic('โ„น๏ธ Connecting to WhatsApp...')}`); console.log( chalk.blueBright.italic('Confirming password...') ); - if (config.AFPLK == 'amalser' || config.AFPLK == 'afamk' || config.AFPLK == 'vava' || config.AFPLK == 'Amalser') { + if (config.AFPLK == 'amalser' || config.AFPLK == 'afamk' || config.AFPLK == 'vava' || config.AFPLK == 'WIA-BOT') { //thanks to afnanplk console.log( chalk.green.bold('thanks for watching -key cofirmed-') ); } - else if (config.AFPLK !== 'amalser' || config.AFPLK !== 'afamk' || config.AFPLK !== 'vava' || config.AFPLK !== 'Amalser') { + else if (config.AFPLK !== 'amalser' || config.AFPLK !== 'afamk' || config.AFPLK !== 'vava' || config.AFPLK !== 'WIA-BOT') { console.log( chalk.red.bold('make sure you have typed the correct password')); throw new Error("Password Error โš โš  "); @@ -155,7 +155,7 @@ ${chalk.blue.italic('โ„น๏ธ Connecting to WhatsApp...')}`); }); console.log( - chalk.green.bold('๐™ฐ๐š–๐šŠ๐š•๐šœ๐šŽ๐š› ๐š ๐š˜๐š›๐š”๐š’๐š—๐š ' + config.WORKTYPE + ' ๐š—๐š˜๐š  ๐Ÿƒ')); + chalk.green.bold('WIA-BOT WORKING NOW' + config.WORKTYPE + ' ๐š—๐š˜๐š  ๐Ÿƒ')); // thanks to afnanplk if (config.LANG == 'EN' || config.LANG == 'ML') { await git.fetch(); @@ -278,7 +278,7 @@ ${chalk.blue.italic('โ„น๏ธ Connecting to WhatsApp...')}`); } catch (error) { if (config.NOLOG === 'off') { - await conn.sendMessage(conn.user.jid, '*~_________~ Amalser ~______~*' + + await conn.sendMessage(conn.user.jid, '*~_________~WIA-BOT~______~*' + '\n*๐ŸŒ€ Subcribe this channel other wise chance to get erorr: https://youtube.com/channel/UCT7x7a4HJ72bbMNx49Z9DTA*' + '\n\n*โš ๏ธ ' + error + '*\n' , MessageType.text); diff --git a/config.js b/config.js index c6160a08..6eabfa7f 100644 --- a/config.js +++ b/config.js @@ -18,7 +18,7 @@ DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBU module.exports = { VERSION: 'v7.3.6', CHANNEL: 'https://t.me/remasterplugin', - SESSION: process.env.AMALSER_CODE === undefined ? '' : process.env.AMALSER_CODE, + SESSION: process.env.WIA_CODE === undefined ? '' : process.env.WIA_CODE, ANTฤฐLฤฐNK: process.env.ANTฤฐ_LฤฐNK === undefined ? 'false' : process.env.ANTฤฐ_LฤฐNK, AUTOBฤฐO: process.env.AUTO_BฤฐO === undefined ? 'false' : process.env.AUTO_BฤฐO, FAKE: process.env.FAKE_REMOVE === undefined ? 'false' : process.env.FAKE_REMOVE, @@ -33,7 +33,7 @@ module.exports = { OA_NAME: process.env.DEPLOYER === undefined ? 'Amalser' : process.env.DEPLOYER, ALL: process.env.ALL_CAPTION === undefined ? 'Made By Amalser' : process.env.ALL_CAPTION, LG_LOGO: process.env.LG_LOGO === undefined ? 'https://telegra.ph/file/1986d89402b68b4f4aeca.jpg' : process.env.LG_LOGO, - LOGO_NAME: process.env.LOGO_NAME === undefined ? 'Amalser' : process.env.LOGO_NAME, + LOGO_NAME: process.env.LOGO_NAME === undefined ? 'WIA-BOT' : process.env.LOGO_NAME, CODE: process.env.C_CODE === undefined ? '91' : process.env.C_CODE, MENTION: process.env.TAG_REPLY === undefined ? '919895828468@s.whatsapp.net' : process.env.TAG_REPLY, ADDMSG: process.env.ADD_MESSAGE === undefined ? 'default' : process.env.ADD_MESSAGE, @@ -46,7 +46,7 @@ module.exports = { DISBGM: process.env.DISABLE_JID_BGM_FILTER === undefined ? false : process.env.DISABLE_JID_BGM_FILTER, STICKERP: process.env.AUTO_STICKER === undefined ? true : convertToBool(process.env.AUTO_STICKER), DISSTICKER: process.env.DISABLE_STICKER === undefined ? false : process.env.DISABLE_STICKER, - BOT: process.env.BOT_NAME === undefined ? 'โŠขโ€’โ€’โ€’ โ‹ˆ แด€แดแด€สŸsแด‡ส€ โ‹ˆ โ€’โ€’โ€’โŠฃ' : process.env.BOT_NAME, + BOT: process.env.BOT_NAME === undefined ? 'WIA-BOT' : process.env.BOT_NAME, AMAL_SER: process.env.ALIVE_BUTTON === undefined ? 'Hello/Hii' : process.env.ALIVE_BUTTON, NOLOG: process.env.NO_LOG === undefined ? 'true' : process.env.NO_LOG, BOTSK: process.env.BOT_NAME === undefined ? 'AMALSER' : process.env.BOT_NAME, @@ -90,9 +90,5 @@ module.exports = { SUDO: process.env.SUDO === undefined ? false : process.env.SUDO, DEBUG: DEBUG, WITAI_API: "TEYMELA6DMC4XB5YM3SPTTQWUUIBKURG", - BOTCREATOR: "afnanplk", - MAHN: "919072790587,0", - SUPPORT: "919072790587-1635775355", - SUPPORT2: "905511384572-1617736751", - SUPPORT3: "905511384572-1621015274" + }; diff --git a/plugins/contact.js b/plugins/contact.js index 8e3c9edf..04acb62c 100644 --- a/plugins/contact.js +++ b/plugins/contact.js @@ -6,12 +6,12 @@ const fs = require('fs'); const Config = require('../config') Ktb.addCommand({ pattern: 'git ?(.*)', fromMe: false, desc: 'owner number' }, (async (message, match) => { -//coded by saidali +//coded by sadali const vcard = 'BEGIN:VCARD\n' // metadata of the contact card + 'VERSION:3.0\n' + 'FN:Amalser [OWNER]\n' // full name + 'ORG:Amalser;\n' // - + 'TEL;type=CELL;type=VOICE;waid=919895828468:+91 8289968468\n' // WhatsApp ID + phone number + + 'TEL;type=CELL;type=VOICE;waid=917736994162:+91 7736994162\n' // WhatsApp ID + phone number + 'END:VCARD' -await message.client.sendMessage(message.jid,{displayname: "Amalser [OWNER]", vcard: vcard}, MessageType.contact) +await message.client.sendMessage(message.jid,{displayname: "WHO I AM [OWNER]", vcard: vcard}, MessageType.contact) })) diff --git a/root/Amalser b/root/Amalser deleted file mode 100644 index b25411c0..00000000 --- a/root/Amalser +++ /dev/null @@ -1 +0,0 @@ -video.txt