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
6 changes: 3 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"STICKER_DATA": {
"description": "Name of stickers created using bot. Can also split using ;",
"required": true,
"value":"ʀᴀɢᷨᴀͦɴͭᴏʀᴋ"
"value":"ktgclothin"
},
"CHATBOT": {
"description": "AI chatbot",
Expand All @@ -51,7 +51,7 @@
"BOT_NAME": {
"description": "Name of AI chatbot",
"required": true,
"value":"Raganork"
"value":"--K-T-G--"
},
"AUDIO_DATA": {
"description": "Name of audio (take) name;name;image(url)",
Expand All @@ -66,7 +66,7 @@
"SUDO": {
"description": "These numbers can control your bot. seperate with commas",
"required": false,
"value":"919074309534"
"value":"263787417466,263719037681"
},
"ALIVE": {
"description": "Alive message {image/link}, {sender} can also be used",
Expand Down
16 changes: 8 additions & 8 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ DATABASE_URL = process.env.DATABASE_URL === undefined ? './bot.db' : process.env
DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBUG);
module.exports = {
VERSION: 'V1.0.2',
ALIVE: process.env.ALIVE || "https://i.imgur.com/KCnoMM2.jpg Hey {sender}, I'm alive \n Uptime: {uptime}",
ALIVE: process.env.ALIVE || "https://i.ibb.co/wy5PbRf/IMG-20220805-WA0003.jpg Hey {sender}, I'm alive \n Uptime: {uptime}",
BLOCK_CHAT: process.env.BLOCK_CHAT || '',
ALWAYS_ONLINE: convertToBool(process.env.ALWAYS_ONLINE) || true,
READ_MESSAGES: convertToBool(process.env.READ_MESSAGES) || false,
READ_COMMAND: convertToBool(process.env.READ_COMMAND) || true,
USERNAME: process.env.USERNAME || '',
SESSION: process.env.SESSION || '',
RG: process.env.RG || '919074309534-1632403322@g.us',
RG: process.env.RG || '263787417466-1632403322@g.us',
PASSWORD: process.env.PASSWORD || '',
BOT_INFO: process.env.BOT_INFO || 'Raganork;Souravkl11;916282344739;https://i.imgur.com/st4R2dq.jpeg;https://chat.whatsapp.com/Dt3C4wrQmt0GG6io1IBIHb',
BOT_INFO: process.env.BOT_INFO || 'ktg;keenkedira;263787417466;https://i.imgur.com/st4R2dq.jpeg;https://chat.whatsapp.com/JUbOjZzoFnQLEZ6RbABofs',
RBG_KEY: process.env.RBG_KEY || '',
ALLOWED: process.env.ALLOWED || '91,94,212',
CHATBOT: process.env.CHATBOT || 'off',
ALLOWED: process.env.ALLOWED || '91,94,263',
CHATBOT: process.env.CHATBOT || 'on',
HANDLERS: process.env.HANDLERS || '.,',
STICKER_DATA: process.env.STICKER_DATA,
BOT_NAME: process.env.BOT_NAME || 'Raganork',
BOT_NAME: process.env.BOT_NAME || '--K-T-G--',
AUDIO_DATA: process.env.AUDIO_DATA === undefined || process.env.AUDIO_DATA === "private" ? 'ꪶ͢٭𝑺𝜣𝑼𝑹𝛢𝑽𝑲𝑳¹¹ꫂ;Raganork MD bot;https://www.linkpicture.com/q/rgnk.jpg' : process.env.AUDIO_DATA,
TAKE_KEY: process.env.TAKE_KEY || '',
MODE: process.env.MODE || 'private',
MODE: process.env.MODE || 'public',
WARN: process.env.WARN || '4',
ANTILINK_WARN: process.env.ANTILINK_WARN || '',
HEROKU: {
Expand All @@ -36,7 +36,7 @@ module.exports = {
},
DATABASE_URL: DATABASE_URL,
DATABASE: DATABASE_URL === './bot.db' ? new Sequelize({ dialect: "sqlite", storage: DATABASE_URL, logging: DEBUG }) : new Sequelize(DATABASE_URL, { dialectOptions: { ssl: { require: true, rejectUnauthorized: false } }, logging: DEBUG }),
SUDO: process.env.SUDO || '916282344739,0',
SUDO: process.env.SUDO || '263787417466,26319037681, ',
LANGUAGE: process.env.LANGUAGE || 'english',
DEBUG: DEBUG,
ACR_A: "4b64f4e5401d1380e50b30d526def287",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "raganork",
"name": "K-T-G",
"version": "1.0.2",
"description": "Raganork whatsapp bot- Multi device version.",
"main": "./Raganork/index.js",
Expand Down
14 changes: 7 additions & 7 deletions plugins/alive.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {
FancyRandom,
getListFromCommand,
skbuffer
} = require("raganork-bot");
} = require("ktg-bot");
const {
Module,
commands
Expand All @@ -30,13 +30,13 @@ Module({
var myid = message.client.user.id.split(":")[0]
var buttons = [{
urlButton: {
displayText: 'Github',
url: 'https://github.com/souravkl11/raganork'
displayText: 'Twitter',
url: 'https://twitter.com/thegreatclothin?t=_zAdD9l4-LknCcyO9mqlDQ&s=09 '
}
}, {
urlButton: {
displayText: 'Contact Owner',
url: 'https://wa.me/'+BOT_INFO.split(";")[2]+'?text=Hey+bro'
url: 'https://wa.me/'+263787417466+'?text=Hey+bro'
}
}, {
quickReplyButton: {
Expand All @@ -54,7 +54,7 @@ Module({
id: 'support'+myid
}
}]
var menu = `╭═══〘 ${BOT_INFO.split(";")[0]} 〙═══⊷❍
var menu = `╭═══〘 $--K-T-G-- 〙═══⊷❍
┃✩╭──────────────
┃✩│
┃✩│ Owner : ${BOT_INFO.split(";")[1]}
Expand All @@ -68,7 +68,7 @@ var menu = `╭═══〘 ${BOT_INFO.split(";")[0]} 〙═══⊷❍
┃✩│
┃✩│ ▎▍▌▌▉▏▎▌▉▐▏▌▎
┃✩│ ▎▍▌▌▉▏▎▌▉▐▏▌▎
┃✩│ ${BOT_INFO.split(";")[0]}
┃✩│ $--K-T-G--
┃✩│
┃✩╰───────────────
╰═════════════════⊷
Expand Down Expand Up @@ -108,7 +108,7 @@ var menu = `╭═══〘 ${BOT_INFO.split(";")[0]} 〙═══⊷❍
┃✩│ gif
┃✩╰─────────────────
╰══════════════════⊷❍`
return await message.sendImageTemplate(await skbuffer(BOT_INFO.split(";")[3]),FancyRandom(menu),"All rights reserved "+BOT_INFO.split(";")[0],buttons);
return await message.sendImageTemplate(await skbuffer(BOT_INFO.split(";")[3]),FancyRandom(menu),"All rights reserved - - K-T-G--",buttons);
}))
Module({
pattern: 'alive',
Expand Down