forked from ShirokamiRyzen/RyzumiMD-ESM
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.js
More file actions
128 lines (109 loc) · 4.67 KB
/
config.example.js
File metadata and controls
128 lines (109 loc) · 4.67 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
Author : Shirokami Ryzen
WA : +6285174269046
Base : Elaina-MultiDevice
Release : 22 Nov 2022
*/
import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import moment from 'moment-timezone'
/*============= WAKTU =============*/
let wktuwib = moment.tz('Asia/Jakarta').format('HH:mm:ss') + ' WIB';
let wktuwita = moment.tz('Asia/Makassar').format('HH:mm:ss') + ' WITA';
let wktuwit = moment.tz('Asia/Jayapura').format('HH:mm:ss') + ' WIT';
global.gabung = wktuwib + '\n' + wktuwita + '\n' + wktuwit;
let d = new Date(new Date + 3600000)
let locale = 'id'
let weton = ['Pahing', 'Pon', 'Wage', 'Kliwon', 'Legi'][Math.floor(d / 84600000) % 5]
let week = d.toLocaleDateString(locale, { weekday: 'long' })
let date = d.toLocaleDateString(locale, {
day: 'numeric',
month: 'long',
year: 'numeric'
});
const more = String.fromCharCode(8206)
const readMore = more.repeat(4001)
/*============= MAIN INFO =============*/
global.pairing = '6285864034767'
global.owner = [['6285174269046', 'ShirokamiRyzen', true]]
global.mods = []
global.prems = []
global.nomorbot = '6285864034767'
global.nomorown = '6285174269046'
/*============= WATERMARK =============*/
global.readMore = readMore
global.author = 'Shirokami Ryzen'
global.namebot = 'Ryzumi-MD ESM'
global.wm = '© Ryzumi-MD By Shirokami Ryzen'
global.watermark = wm
global.botdate = `⫹⫺ DATE: ${week} ${date}\n⫹⫺ 𝗧𝗶𝗺𝗲: ${wktuwib}`
global.bottime = `T I M E : ${wktuwib}`
global.stickpack = `Sticker Dibuat dengan ${namebot}\ngithub.com/ShirokamiRyzen\n\nRyzumi-MD ESM\n+${nomorbot}`
global.stickauth = `© Ryzumi-MD By Shirokami Ryzen`
global.week = `${week} ${date}`
global.wibb = `${wktuwib}`
/*============== SOCIAL ==============*/
global.sig = 'https://www.instagram.com/fatih_frdaus'
global.sgh = 'https://github.com/ShirokamiRyzen'
global.sgc = 'https://whatsapp.com/channel/0029Vb2qO9Q5vKAGd2t7ap1F'
global.sgw = 'https://ryzumi.vip'
global.sdc = '-'
global.sfb = 'https://www.facebook.com/Nao.Tomori.UwU'
global.snh = 'https://www.instagram.com/fatih_frdaus'
/*============== PAYMENT ==============*/
global.pdana = '085174269046'
global.qris = 'https://api.ryzumi.vip/images/qris.png'
global.psaweria = 'https://saweria.co/shirokamiryzen'
/*============= RESPON =============*/
global.wait = 'Please Wait...'
global.eror = 'Error!'
/*============= API =============*/
global.APIs = {
ryzumi: 'https://api.ryzumi.vip',
}
/*============= API KEY =============*/
global.APIKeys = {
// 'https://website': 'apikey'
}
/*============== LOGO ==============*/
global.thumb = 'https://telegra.ph/file/cce9ab4551f7150f1970d.jpg' //Main Thumbnail
global.thumb2 = 'https://telegra.ph/file/26b515d170f1e599f78a7.jpg'
global.thumbbc = 'https://telegra.ph/file/05f874dc87f7e27fa8127.jpg' //For broadcast
global.giflogo = 'https://telegra.ph/file/a46ab7fa39338b1f54d5a.mp4'
global.thumblvlup = 'https://telegra.ph/file/a3e66e0fa840b08236c75.jpg'
/*=========== TYPE DOCUMENT ===========*/
global.dpptx = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
global.ddocx = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
global.dxlsx = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
global.dpdf = 'application/pdf'
global.drtf = 'text/rtf'
global.djson = 'application/json'
/*=========== HIASAN ===========*/
// DEFAULT MENU
global.dmenut = 'ଓ═┅═━–〈' //top
global.dmenub = '┊↬' //body
global.dmenub2 = '┊' //body for info cmd on Default menu
global.dmenuf = '┗––––––––––✦' //footer
// COMMAND MENU
global.dashmenu = '┅━━━═┅═❏ *ღ *DASHBOARD* ღ* ❏═┅═━━━┅'
global.cmenut = '❏––––––『' //top
global.cmenuh = '』––––––' //header
global.cmenub = '┊❀' //body
global.cmenuf = '┗━═┅═━––––––๑\n' //footer
global.cmenua = '\n⌕ ❙❘❙❙❘❙❚❙❘❙❙❚❙❘❙❘❙❚❙❘❙❙❚❙❘❙❙❘❙❚❙❘ ⌕\n ' //after
global.pmenus = '┊' //pembatas menu selector
global.htki = '––––––『' // Hiasan Titile (KIRI)
global.htka = '』––––––' // Hiasan Title (KANAN)
global.lopr = 'Ⓟ' //LOGO PREMIUM ON MENU.JS
global.lolm = 'Ⓛ' //LOGO LIMIT/FREE ON MENU.JS
global.htjava = '⫹⫺' //hiasan Doang :v
global.hsquere = ['⛶', '❏', '⫹⫺']
global.multiplier = 0
//------ JANGAN DIUBAH -----
let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
unwatchFile(file)
console.log(chalk.redBright("Update 'config.js'"))
import(`${file}?update=${Date.now()}`)
})