forked from Fokusdotid/Family-MD
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js
More file actions
106 lines (96 loc) · 3.27 KB
/
config.js
File metadata and controls
106 lines (96 loc) · 3.27 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
let fs = require('fs')
global.owner = JSON.parse(fs.readFileSync('./settings/owner.json')) // Put your number to folder /src/owner.json
global.mods = JSON.parse(fs.readFileSync('./settings/moderator.json')) // Want some help?
global.APIs = { // API Prefix
// name: 'https://website'
nrtm: 'https://nurutomo.herokuapp.com',
bg: 'http://bochil.ddns.net',
xteam: 'https://api.xteam.xyz',
zahir: 'https://zahirr-web.herokuapp.com',
zeks: 'https://api.zeks.me',
pencarikode: 'https://pencarikode.xyz',
LeysCoder: 'https://leyscoders-api.herokuapp.com',
neoxr: 'https://neoxr-api.herokuapp.com',
amel: 'https://melcanz.com',
hardianto: 'https://hardianto.xyz',
lol: 'https://api.lolhuman.xyz',
adicug: 'https://api.adiofficial.xyz'
}
global.APIKeys = { // APIKey Here
// 'https://website': 'apikey'
'https://neoxr-api.herokuapp.com': 'yntkts',
'https://api.xteam.xyz': 'apikeylu',
'https://melcanz.com': 'apikeylu',
'https://api.lolhuman.xyz': 'apikeylu',
'https://zahirr-web.herokuapp.com': 'zahirgans',
'https://api.zeks.me': 'apikeylu',
'https://pencarikode.xyz': 'apikeylu',
'https://hardianto.xyz': 'hardianto',
'https://leyscoders-api.herokuapp.com': 'apikeylu',
'https://api.adiofficial.xyz': 'apikey lu'
}
//global.wm = '𝑴𝒚𝑩𝒐𝒕-𝑴𝒖𝒍𝒕𝒊 𝑫𝒆𝒗𝒊𝒄𝒆 𝑩𝒚 𝑭𝒐𝒌𝒖𝒔𝑰𝑫'
global.wait = '_*𝐬𝐞𝐝𝐚𝐧𝐠 𝐝𝐢 𝐩𝐫𝐨𝐬𝐞𝐬 ...*_'
global.eror = '_*мααƒ ѕєяνєя тι∂αк ѕтαвιℓ..*_'
//========Url Template Buttons=========//
global.dtu = 'ɪɴꜱᴛᴀɢʀᴀᴍ'
global.urlnya = "https://www.instagram.com/aguzfamilia"
//============= callButtons =============//
global.dtc = 'ᴄᴀʟʟ ᴏᴡɴᴇʀ'
global.phn = '+62 813-2017-0984'
//============= Games ================//
global.benar = '_*Benar✅*_'
global.salah = '_*Salah❌*_'
global.dikit = "dikit lagi, semangat ya :')"
global.multiplier = 100 // The higher, The harder levelup
//=========== Requirements ==========//
global.baileys = require('@adiwajshing/baileys')
global.fs = require('fs')
global.dataw = JSON.parse(fs.readFileSync('./data.json'))
global.fetch = require('node-fetch')
global.bochil = require('@bochilteam/scraper')
global.rpg = {
emoticon(string) {
string = string.toLowerCase()
let emot = {
level: '🧬',
limit: '🌌',
healt: '❤️',
exp: '✉️',
money: '💵',
potion: '🥤',
diamond: '💎',
common: '📦',
uncommon: '🎁',
mythic: '🗳️',
legendary: '🗃️',
pet: '🎁',
sampah: '🗑',
armor: '🥼',
fishingrod: '🎣',
pickaxe: '⛏️',
sword: '⚔️',
kayu: '🪵',
batu: '🪨',
iron: '⛓️',
string: '🕸️',
kuda: '🐎',
kucing: '🐈' ,
anjing: '🐕',
makananpet: '🍖',
gold: '👑',
emerald: '💚'
}
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]]
}
}
let chalk = require('chalk')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
delete require.cache[file]
require(file)
})