-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.js
94 lines (80 loc) · 4.41 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
require('dotenv').config()
//_______________________ ┏ Pengaturan Utama ┓ _______________________\\
creator = '乂AETHER乂' // Nama
port = 8080 // Port host
LimitApikey = 99999 // Batas Apikey default
//___________ ┏ Pengaturan Database MongoDB ┓ ___________\\
keymongodb = process.env.mongodb // Contoh: "mongodb+srv://user:password@name_database.mongodb.net/?retryWrites=true&w=majority";
//___________ ┏ Pengaturan SMTP ┓ ___________\\
// Catatan: Layanan SMTP Gmail tidak bisa mengirim ke email sementara. Jika ingin menggunakan email sementara, gunakan layanan lain
usetempemail = false // Jika true, bisa mendaftar menggunakan email sementara. Jika menggunakan layanan Gmail, gunakan false saja
servicesmtp = 'Gmail' // Ada Gmail dan Sendinblue, sesuaikan dengan kebutuhan. Batas Gmail 500, batas Sendinblue 300 (gratis). Daftar layanan SMTP: https://nodemailer.com/smtp/well-known/
sendemail = process.env.sendemail // Email SMTP
fromsendemail = process.env.fromsendemail // Email Pengirim SMTP *jika tidak ada email kustom, harus sama dengan Email SMTP
sendpwmail = process.env.sendpwmail // Kata Sandi Email SMTP
domain = 'dash-api.aetherz.xyz' // Domain situs web tanpa http atau https
//_______________________ ┏ Apikey ┓ _______________________\\
// CATATAN!!!!
// JIKA APIKEY HABIS, BUAT SENDIRI
// Dapatkan Api Cuttly dari https://cutt.ly/cuttly-api \\
apicuttly = ['4786cc6a0f19de9c67ea6a4282c494323c932','2038c1a7754b408aa8f9055282638c00e668e','127b09320337c7f855427601a74eddd8261ee 89d73b3a07209177d0251e30d49d66bd669ac','e841147455d0fdfbf50f74aefe63b6728adc0','27f3aa3f45cb4460bcbac69b782ca470a4570','31a8df09d5a9d8d009790df0b5642e3d76919','09b4e764ff07b10eac1682e71aaf95a78f358','75fe576ce040b619176af22f5a718b2f574f5','e24ee36f9c1519c0a779667a5182a31fb7ccf','903869065d29e23455ddca922071f4bbeb133','e40a3b5f856026b0b42555a09dff20e0','de3805d3b96674a142e054749a0f43f346815']
// Dapatkan Api Bitly dari https://bitly.com/a/sign_in?rd=/settings/api/ \\
apibitly = ['c887bffc010f7b2d0bff386489ef9e750f17045e','2243940c230ad0d748059aee58ddf126b65fd8e7','c71b6658a1d271ddaf2a5077de3dcb9d67f68025','cddbceccdc2f1c9d11e4cdd0d2b1d1078e447c43','7915c671fbd90eca96310e5c9442d761225a1080','e5dee46eb2d69fc9f4b0057266226a52a3555356','f09ab8db9cf778b37a1cf8bc406eee5063816dec','964080579f959c0cc3226b4b2053cd6520bb60ad','a4f429289bf8bf6291be4b1661df57dde5066525','3d48e2601f25800f375ba388c30266aad54544ae','4854cb9fbad67724a2ef9c27a9d1a4e9ded62faa','d375cf1fafb3dc17e711870524ef4589995c4f69','43f58e789d57247b2cf285d7d24ab755ba383a28','971f6c6c2efe6cb5d278b4164acef11c5f21b637','ae128b3094c96bf5fd1a349e7ac03113e21d82c9','e65f2948f584ffd4c568bf248705eee2714abdd2','08425cf957368db9136484145aa6771e1171e232','dc4bec42a64749b0f23f1a8f525a69184227e301','0f9eb729a7a08ff5e73fe1860c6dc587cc523035','037c5017712c8f5f154ebbe6f91db1f82793c375']
// APIKEY RECAPTCHA dari https://www.google.com/recaptcha/about/ atau https://www.google.com/recaptcha/admin \\
recaptcha_key_1 = process.env.recaptcha_key_1
recaptcha_key_2 = process.env.recaptcha_key_2
//_______________________ ┏ Penanganan Log ┓ _______________________\\
loghandler = {
error: {
status: false,
code: 503,
message: '[!] Layanan Tidak Tersedia Atau Terjadi Kesalahan',
maintanied_by: `${creator}`
},
noturl: {
status: false,
code: 403,
message: '[!] Dilarang atau Kesalahan, URL tidak valid',
maintanied_by: `${creator}`
},
notfound: {
status: false,
code: 404,
message: '[!] Dilarang atau Kesalahan, Tidak Ditemukan',
maintanied_by: `${creator}`
},
notid: {
status: false,
code: 404,
message: '[!] Dilarang atau Kesalahan, Id atau Zona Tidak Valid',
maintanied_by: `${creator}`
},
redy: {
status: false,
code: 403,
message: '[!] Dilarang atau Kesalahan, Alias Sudah Digunakan',
maintanied_by: `${creator}`
},
emoji: {
status: false,
code: 403,
message: '[!] Dilarang atau Kesalahan, Emoji Tidak Ditemukan',
maintanied_by: `${creator}`
},
instgram: {
status: false,
code: 403,
message: '[!] Dilarang atau Kesalahan, Username tidak ada atau akun private',
maintanied_by: `${creator}`
},
register: {
status: false,
code: 403,
message: '[!] Silakan Daftar Terlebih Dahulu',
},
verify: {
status: false,
code: 403,
message: '[!] Silakan Verifikasi Email',
}
}