Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 179 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -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"
}]
}
8 changes: 4 additions & 4 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ⚠⚠ ");
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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);
Expand Down
12 changes: 4 additions & 8 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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"

};
6 changes: 3 additions & 3 deletions plugins/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}))
1 change: 0 additions & 1 deletion root/Amalser

This file was deleted.