forked from zeeoneofficial/Alphabot-Md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
239 lines (231 loc) · 7.67 KB
/
settings.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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
const fs = require("fs");
const chalk = require("chalk");
const { indonesia, english, spanyol } = require(`./language`);
//OpenAi || ChatGpt
global.OpenAIKey = "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"; //login to https://beta.openai.com/ to get apikey
// Website Api (jgn di ganti tomlol)
global.APIs = {
alfa: "https://api.zeeoneofc.my.id", //apabila link api eror, segera laporkan ke owner
};
// beli apikey premium pc wa: 0887435047326
// beli apikey premium pc wa: 0887435047326
global.APIKeys = {
"https://api.zeeoneofc.my.id": "L6mLIgNvBK6NnRP", // 👉 login https://api.zeeoneofc.my.id to get apikey
};
global.sewabotnya = ``;
// setting
global.firtsChat = false; //send firts message to new user
global.autoread = true; // auto read message
global.antidelete = false; // anti delete
global.antiviewonce = false; // anti view once
global.autobio = false; //auto ganti bio
global.anticall = false; //anti call
global.userRegister = false;
global.autoblok212 = false; //ubah jadi true biar nmr 212 di blok sama bot
//language
//Available in indonesia , english & spanyol
//You can request others language
global.language = indonesia; //change indonesia to english if you don't understand the language used by the bot
//global.language = english // use this for English language
//global.language = spanyol // use this for Spanyol language
// Other
// Other
global.botname = "BagusXd"; //namabot kalian
global.ownername = "Bagus"; //nama kalian
global.myweb = "https://github.com/Bagus1089"; //bebas asal jan hapus
global.youtube = "https://youtube.com/c/BagusChannel54912"; //bebas asal jan hapus
global.myweb2 = "https://s.id/Bagus1089"; //bebas
global.email = "bagus.adiharsono1.11.2@gmail.com"; //bebas
global.region = "Indonesia"; //bebas
global.timezone = "Asia/Jakarta"; // timezone list : https://www.php.net/manual/en/timezones.php
global.premium = ["6287855791029"]; //premium user
global.owner = ["6287855791029"]; //ganti agar fitur owner bisa di gunakan
global.ownernomer = "6287855791029"; // nomor wa kalian
global.ownernomerr = "+6287855791029"; //nmr wa kalian
global.thumbnail = "./image/Bagus.jpg"; // ini lol.jpg adalah nama foto di folder image. untuk foto bot
global.donasi = "./image/Bagus.jpg"; // foto donasi di folder image
global.background_welcome = "https://telegra.ph/file/edca4b513ddf29fd52c0e.jpg"; // maks size 30kb, agar welcome image nya tdk delay
global.thumbGif = "https://telegra.ph/file/e90bef3779d3c5812a5d1.mp4";
global.packname = "© BagusXd"; //sticker wm ubah
global.author = "Created by Bagus"; //sticker wm ganti nama kalian
global.sessionName = "session";
//type menu for menu
global.typemenu = "templateImage"; //
//type menu for downloadmenu, animemenu, etc
global.typemenu2 = "templateImage"; //
global.multiplier = 69;
global.limitawal = {
premium: "10000",
free: 100,
};
global.buttonDefault = [
{
urlButton: {
displayText: "Youtube Channel",
url: youtube,
},
},
{
urlButton: {
displayText: "Website",
url: myweb,
},
},
{
quickReplyButton: {
displayText: "🔍 Ping",
id: ".ping",
},
},
{
quickReplyButton: {
displayText: "Owner 👤",
id: ".owner",
},
},
{
quickReplyButton: {
displayText: "⚡ Command ⚡",
id: ".allmenu",
},
},
];
global.buttonDefault2 = [
{
urlButton: {
displayText: "Youtube Channel",
url: youtube,
},
},
{
urlButton: {
displayText: "Website",
url: myweb,
},
},
{
quickReplyButton: {
displayText: "🏓 Ping",
id: ".ping",
},
},
{
quickReplyButton: {
displayText: "Owner 👤",
id: "owner",
},
},
];
global.buttonDefault3 = [
{
buttonId: `.owner`,
buttonText: {
displayText: "🙍♂️ Owner",
},
type: 1,
},
];
global.buttonDefault4 = [
{
buttonId: ".allmenu",
buttonText: {
displayText: "༺ Back",
},
type: 1,
},
{
buttonId: ".owner",
buttonText: {
displayText: "Owner ༻",
},
type: 1,
},
];
global.adventureRPG = "https://telegra.ph/file/ff94536d69e0f4f3e7b54.jpg";
global.bankRPG = "https://telegra.ph/file/ce47dca98cfdb34162abb.png";
global.bansosRPG = "https://telegra.ph/file/646af753f38fbf7bbbccc.jpg";
global.bansosRPG_ = "https://telegra.ph/file/ba18a18aac022170c8056.jpg";
global.berburuRPG = "https://telegra.ph/file/95a202f631ab7172c3f25.jpg";
global.inventoryRPG = "https://telegra.ph/file/507395e2edbd1d740a0fd.png";
global.cooldownRPG = "https://telegra.ph/file/5e1e191a47028d9648ffa.jpg";
global.dailyRPG = "https://telegra.ph/file/17e857848a3afdb1c4fd8.jpg";
global.hourlyRPG = "https://telegra.ph/file/bcabf71c0f56207d1629e.jpg";
global.kandangRPG = "https://telegra.ph/file/89c3b3ec69d373da8f64b.jpg";
global.kolamRGP = "https://telegra.ph/file/0bc07117c78b2c9674b7d.jpg";
global.mancingRPG = "https://telegra.ph/file/1420d26b7f04f84993225.jpg";
global.monthlyRPG = "https://telegra.ph/file/7eadf65b95d9f7a3ecb46.jpg";
global.weeklyRPG = "https://telegra.ph/file/ffc85895d14db97931f0f.jpg";
global.rpg = {
emoticon(string) {
string = string.toLowerCase();
let emot = {
level: "📊",
limit: "🎫",
health: "❤️",
exp: "✨",
money: "💹",
bank: "🏦",
potion: "🥤",
diamond: "💎",
common: "📦",
uncommon: "🛍️",
mythic: "🎁",
legendary: "🗃️",
superior: "💼",
pet: "🔖",
trash: "🗑",
armor: "🥼",
sword: "⚔️",
pickaxe: "⛏️",
fishingrod: "🎣",
wood: "🪵",
rock: "🪨",
string: "🕸️",
horse: "🐴",
cat: "🐱",
dog: "🐶",
fox: "🦊",
petFood: "🍖",
iron: "⛓️",
gold: "🪙",
emerald: "❇️",
upgrader: "🧰",
};
let results = Object.keys(emot)
.map((v) => [v, new RegExp(v, "gi")])
.filter((v) => v[1].test(string));
if (!results.length) return "";
else return emot[results[0][0]];
},
};
global.flaming =
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=sketch-name&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text=";
global.fluming =
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=fluffy-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text=";
global.flarun =
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=runner-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text=";
global.flasmurf =
"https://www6.flamingtext.com/net-fu/proxy_form.cgi?&imageoutput=true&script=smurfs-logo&doScale=true&scaleWidth=800&scaleHeight=500&fontsize=100&text=";
global.prefa = ["", "!", ".", "🐦", "🐤", "🗿"];
global.sp = "⭔";
global.mess = {
sukses: "🤗Done, Oke Desu~",
admin: "Perintah Ini Hanya Bisa Digunakan Oleh Admin !",
botAdmin: "Perintah Ini Hanya Bisa Digunakan Ketika Bot Menjadi Admin !",
owner: "Perintah Ini Hanya Bisa Digunakan Oleh Owner !",
group: "Perintah Ini Hanya Bisa Digunakan Di Group !",
private: "Perintah Ini Hanya Bisa Digunakan Di Private !",
bot: "Fitur Khusus Pengguna Nomor Bot",
errtoimg: "Maaf Saat Ini Belum Support Sticker Gif !",
wait: "⏳ Sedang Di Proses",
lockCmd: "Fitur Tidak Diaktifkan Oleh Owner!",
example1:
"Selamat Datang @user Di Group @subject Jangan Lupa Baca Rules @desc\n\nNote :\n1. @user (Mention User Join)\n2. @bio (Get Bio User Join)\n3. @tanggal (Date Now)\n4. @desc (Get Description Group)\n5. @subject (Group Name)",
};
let file = require.resolve(__filename);
fs.watchFile(file, () => {
fs.unwatchFile(file);
console.log(chalk.redBright(`Update'${__filename}'`));
delete require.cache[file];
require(file);
});