-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathconfig.js
More file actions
113 lines (99 loc) · 5.31 KB
/
Copy pathconfig.js
File metadata and controls
113 lines (99 loc) · 5.31 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/**
* Global Configuration for WhatsApp MD Bot
*/
module.exports = {
// Bot Owner Configuration
ownerNumber: ['212768498288,'212702358771'], // Add your number without + or spaces (e.g., 919876543210)
ownerName: ['Amin', ''], // Owner names corresponding to ownerNumber array
// Bot Configuration
botName: '99bot',
prefix: '.',
sessionName: 'session',
sessionID: 'KnightBot!H4sIAAAAAAAAA5VUTZOiSBD9L3XVGEAQ0IiOWAQUm0ZFUIGNPZRSQCECVhUqTvjfN2inp+ewO9t7q4+Mly9fvszvoKwwRTZqwfg7qAm+QIa6I2trBMZg0iQJIqAPYsggGAPVOYbEi84h0yZ1OVqavSVFUoPOMtfglX+ahlvsk5U2FOgLePRB3ewLfPgN4HQruNnNS/kJm4tnj5N8Qz5CTPxc0Raakl/cbGqvN9xKu76AR4cIMcFlatYZOiECCxu1K4jJ1+hj64JEg0Nte4u4OHM38X0UJNay5kNun0mccJwk920QRwH/NfoqeqM0khQPrU9NcD0lUcWICcnC4l5doqy1NSdyy7C57MInfYrTEsXzGJUMs/bLusuGGcJhadzjvFWiApnQNWxrGqTYu5Y1zZVqEELEOxzvfo04TL3FNt7awYKPtzvVmvXy3mblqvsoNzK1DXqFt1lI88EFb34lviIfXjn+H90dnSkVFyVmoTnrzSysaJSow3NSoMP6QrfZVZ3nVxxU4u76Nfo4KlGvcXV1LtnybQe1g+mEqcW7E9MStvJ2uz4aotNulEL7pA9ZQ37HcnhDxmm9vdvUSV65tooW8t7Zc4629+uFKhs0VPNbLb6mNpp6eGR56/hycweZNr+egyxMlKt1zu7aQOD3t7Z61Qsmn/D15b2iI2rnMRgLjz4gKMWUEchwVXZvCt8HML546EAQe1cXFCPPsPdrp56lOq7uUb1fc/HboBlZC9GdRktOnobT05t92R1fQB/UpDogSlFsYcoq0jqIUpgiCsZ//tUHJbqxZ9+6bKLQBwkmlG3Kpi4qGH809eMTHg5VUzKvLQ96d0AEjPnPZ8QYLlPaydiUkBwyfEF6BhkF4wQWFP0sEBEUgzEjDfo5tHoVd7or9kJ0DUkHfXB67weOwRgMhIEiq7I0UNTRWOD/oN+uHSys628lYqAPimeYJA5VQRgK4khQFbWL7D4ePxl2gDFiEBcUjIG+0Ku7Uk3MxaqHqTSbaWaq6akGPiv6cMZTeuY7yqE2lNGSeovEvmqjuzR3d5SrXi9HW664UAjaVy1cTqSXfwABY3Bz7q5ssliWZ6Vpbd92au5RONvLlSOWoyupe8wd+C0yS3wrda83n2f8+tY0x50mD2c2mxZvCj213ryJdYfLitTTbUN76bLF6IIP6Ndkqs6L6uS8hEJwP+p+osjnuBWnVlDerrw/DJIdHJ7RXjSnuybY9HY726d4gkdWrxDc24jP/ddkk+dYO7Iisttp6h96efr07PvMFD92FX63U9er7ppg9D76Jew6+N+9exLvLMY/+r9g/Fgm/zKQk/3mvhRtt8f5xMyDlmqrQ083p2Ql6/uh3pxXg8VWxe7MSBF4PP7qg7qALKnIqdtwZUwqHIM+IFXTeXZeJtVvkunaZm6m6aKrvICUaZ9z4OMTogyeajAWFEUSFV6WlGfUilS1BWkGxkA8FULugcffMFegRFQHAAA=',
newsletterJid: '120363161513685998@newsletter', // Newsletter JID for menu forwarding
updateZipUrl: 'https://github.com/mruniquehacker/KnightBot-Mini/archive/refs/heads/main.zip', // URL to latest code zip for .update command
// Sticker Configuration
packname: 'amine l paedophile🥴',
// Bot Behavior
selfMode: true, // Private mode - only owner can use commands
autoRead: false,
autoTyping: false,
autoBio: false,
autoSticker: false,
autoReact: false,
autoReactMode: 'bot', // set bot or all via cmd
autoDownload: false,
// Group Settings Defaults
defaultGroupSettings: {
antilink: false,
antilinkAction: 'warn', // 'delete', 'kick', 'warn'
antitag: false,
antitagAction: 'delete',
antiall: false, // Owner only - blocks all messages from non-admins
antiviewonce: false,
antibot: false,
anticall: false, // Anti-call feature
antigroupmention: false, // Anti-group mention feature
antigroupmentionAction: 'delete', // 'delete', 'kick'
welcome: false,
welcomeMessage: '╭╼━≪•𝙽𝙴𝚆 𝙼𝙴𝙼𝙱𝙴𝚁•≫━╾╮\n┃𝚆𝙴𝙻𝙲𝙾𝙼𝙴: @user 👋\n┃Member count: #memberCount\n┃𝚃𝙸𝙼𝙴: time⏰\n╰━━━━━━━━━━━━━━━╯\n\n*@user* Welcome to *@group*! 🎉\n*Group 𝙳𝙴𝚂𝙲𝚁𝙸𝙿𝚃𝙸𝙾𝙽*\ngroupDesc\n\n> *ᴘᴏᴡᴇʀᴇᴅ ʙʏ botName*',
goodbye: true,
goodbyeMessage: ' @user تم طرد الزاملبوك',
antiSpam: false,
antidelete: false,
nsfw: false,
detect: false,
chatbot: false,
autosticker: false // Auto-convert images/videos to stickers
},
// API Keys (add your own)
apiKeys: {
// Add API keys here if needed
openai: '',
deepai: '',
remove_bg: ''
},
// Message Configuration
messages: {
wait: '⏳ Please wait...',
success: '✅ Success!',
error: '❌ Error occurred!',
ownerOnly: 'sir awa t7wa😆',
adminOnly: 'hak wa7d zb',
groupOnly: '👥 This command can only be used in groups!',
privateOnly: '💬 This command can only be used in private chat!',
botAdminNeeded: 'pass admin t7wa 😒',
invalidCommand: '❓ Invalid command! Type .menu for help'
},
// Timezone
timezone: 'Asia/Kolkata',
// Limits
maxWarnings: 3,
// Social Links (optional)
social: {
github: 'https://github.com/mruniquehacker',
instagram: 'https://instagram.com/yourusername',
youtube: 'http://youtube.com/@mr_unique_hacker'
}
}; messages: {
wait: '⏳ Please wait...',
success: '✅ Success!',
error: '❌ Error occurred!',
ownerOnly: '👑 This command is only for bot owner!',
adminOnly: '🛡️ This command is only for group admins!',
groupOnly: '👥 This command can only be used in groups!',
privateOnly: '💬 This command can only be used in private chat!',
botAdminNeeded: '🤖 Bot needs to be admin to execute this command!',
invalidCommand: '❓ Invalid command! Type .menu for help'
},
// Timezone
timezone: 'Asia/Kolkata',
// Limits
maxWarnings: 3,
// Social Links (optional)
social: {
github: 'https://github.com/mruniquehacker',
instagram: 'https://instagram.com/yourusername',
youtube: 'http://youtube.com/@mr_unique_hacker'
}
};