-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/
config.js
77 lines (70 loc) ยท 4.42 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
const { readFileSync } = require('fs')
require('dotenv').config({path: './mongo.env'});
require('dotenv').config({path: './owner.env'});
require('dotenv').config({path: './session.env'});
require('dotenv').config({path: './bot.env'});
module.exports = {
/**
* bot details and parameters
*/
botname: process.env.BotName || "Qแดแดแดษด แดษดสแด แด 2",
footer: process.env.Footer || "ยฉ ๐๐จ๐ฐ๐๐ซ๐๐ ๐๐ฒ ๐๐ฎ๐๐๐ง ๐๐ง๐ฒ๐ ๐๐จ๐ญ",
prefa: process.env.Prefix || "-",
themeemoji: process.env.ThemeEmoji || "๐",
/**
* owner details and parameters
*/
ownername: process.env.Owner_Name || "Pika~Kun",
ownernumber: process.env.Owner_Number || "916900904828",
instagramId: process.env.Insta || "3.69_pika",
/**
* other details and parameters
*/
author: process.env.Author || "๐๐ข๐ค๐๐๐จ๐ญ๐ณ ๐๐",
packname: process.env.PackName || "๐ผ๐๐๐๐ ๐ฌ๐๐๐ ๐2 ๐พ๐๐๐๐๐๐ ๐ป๐๐๐ ๐ช",
socialLink: process.env.Web || "https://github.com/PikaBotz",
groupLink: process.env.GcLink || "https://chat.whatsapp.com/E490r0wSpSr89XkCWeGtnX",
warns: Number(process.env.Warn_Limits) || 3,
cooldown: Number(process.env.Cooldown_Timer_Seconds) || 5, // default cooldown time per command in seconds
mongoUrl: process.env.MongoDB || "YOUR_MONGODB_URL",
sessionId: process.env.SESSION_ID || "YOUR_SESSION_ID",
/**
* thumbnails and medias
*/
image_1: readFileSync('./lib/Assets/image_1.jpg'), // primary image
image_2: readFileSync('./lib/Assets/image_2.jpg'), // secondry image
imageUrl: "https://i.ibb.co/ZKKSZHT/Picsart-23-06-24-13-36-01-843.jpg", // image url, to replace to your url upload your image to https://imgbb.com
imageMentionUrl: "https://i.ibb.co/ZKKSZHT/Picsart-23-06-24-13-36-01-843.jpg", // image for mention reply audio media
aliveMedia: readFileSync("./lib/Assets/aliveMedia.mp4"),
menuMedia: readFileSync('./lib/Assets/menuMedia.mp4'),
ownerMentionMp3: readFileSync('./lib/Assets/ownerMentionMp3.mp3'), // audio for mention reply audio media
/**
* core parameters and values
*/
ownercon: { key: { fromMe: false, participant: '0@s.whatsapp.net', ...({ remoteJid: 'status@broadcast' }), }, message: { contactMessage: { displayName: this.ownername, vcard: `BEGIN:VCARD\nVERSION:3.0\nN:XL;${this.ownername},;;;\nFN:${this.ownername}\nitem1.TEL;waid=${this.ownernumber}:${this.ownernumber}\nitem1.X-ABLabel:Mobile\nEND:VCARD`, jpegThumbnail: this.image_2, thumbnail: this.image_2, sendEphemeral: true } } },
fakeshop: { key: { fromMe: false, participant: "0@s.whatsapp.net", remoteJid: "status@broadcast" }, message: { orderMessage: { itemCount: 1234, status: 200, thumbnail: this.image_1, surface: 200, message: this.botname, orderTitle: this.ownername, sellerJid: '0@s.whatsapp.net'}}, contextInfo: { forwardingScore: 999, isForwarded: true}, sendEphemeral: true },
message: {
success: "โ
๐๐๐๐๐๐๐! ๐พ๐๐๐๐๐๐๐ ๐ฒ๐๐๐๐๐๐๐๐.",
admin: "*๐ค A๐ณ๐ผ๐ธ๐ฝ N๐ด๐ด๐ณ๐ด๐ณ!*\n\n- Dear, this command is only for Admins. You have to be a admin in this group to use this command.",
botAdmin: "*๐ค B๐พ๐ A๐ณ๐ผ๐ธ๐ฝ N๐ด๐ด๐ณ๐ด๐ณ!*\n\n- I'm not an Admin, so I can't execute this command in this group. Please make me an Admin.",
owner: "*๐ O๐๐ฝ๐ด๐ N๐ด๐ด๐ด๐ณ๐ด๐ณ!*\n\n- Bruh, this command is only made for this bot's owner. So you can't use this command.",
group: "*๐ฅ G๐๐๐๐ N๐๐๐๐๐!*\n\n- This command can only be executed in a group chat.",
private: 'This command is only for private chats.',
wait: '๐ Processing request...',
error: "โ Oops! An error occurred while processing your request. Please try again later.",
ban: `You're banned from using this bot!`,
nsfw: 'This group is not *NSFW* enabled.',
banChat: 'This group is banned from using this bot, please contact owner to get unbanned.'
},
Port: process.env.Port || "8080",
/**
* external APIs
*/
api: {
api1: "https://www.guruapi.tech" // Guru's API
}
}
global.connectionMessageSent = false;
global.game = {
tictactoe: {}
}