-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathhatzu.js
82 lines (78 loc) · 4.72 KB
/
hatzu.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
/* Copyright (C) 2021 TENUX-Neotro.
Licensed under the GPL-3.0 License;
you may not use this file except in compliance with the License.
NEOTROX - TEENUHX
*/
const { Sequelize } = require('sequelize');
const fs = require('fs');
if (fs.existsSync('hatzu.env')) require('dotenv').hatzu({ path: './hatzu.env' });
function convertToBool(text, fault = 'true') {
return text === fault ? true : false;
}
DATABASE_URL = process.env.DATABASE_URL === undefined ? './whatsasena.db' : process.env.DATABASE_URL;
DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBUG);
module.exports = {
VERSION: 'v7.3.6',
ZRUN: "zenzapi",
LANG: process.env.LANGUAGE === undefined ? 'EN' : process.env.LANGUAGE.toUpperCase(),
BOT_NAME: process.env.BOT_NAME === undefined ? 'Amazone Alexa' : process.env.BOT_NAME,
HNLOCK: 'hadi-api',
ZLOCK: 'zeks',
ZNLOCK: 'zenzapi.xyz',
ZSITE: process.env.ZSITE === undefined ?'enzapi.xyz' : process.env.ZSITE,
ZAPI: process.env.ZAPI === undefined ?'AMAZONE' : process.env.ZAPI,
BSITE: process.env.BSITE === undefined ?'dapuhy-api.herokuapp.com' : process.env.BSITE,
BAPI: process.env.BAPI === undefined ?'TEENUU' : process.env.BAPI,
NS: process.env.NS === undefined ?'' : process.env.NS,
NS: process.env.NS === undefined ?'' : process.env.NS,
HLOCK: process.env.HLOCK === undefined ?'hadi-api' : process.env.HLOCK,
NEOA: process.env.NEOA === undefined ?'aca83a4354ac' : process.env.NEOA,
NEOS: process.env.NEOS === undefined ?'zenzapi' : process.env.NEOS,
NEOY: process.env.NEOY === undefined ?'xyz' : process.env.NEOY,
NY: process.env.NY === undefined ?'xyz' : process.env.NY,
NA: process.env.NA === undefined ?'aca83a4354ac' : process.env.NA,
NS: process.env.NS === undefined ?'zenzapi' : process.env.NS,
XURL: process.env.XURL === undefined ?'ttps://api.zeks.me/api/' : process.env.XURL,
XTPS: process.env.XTPS === undefined ?'extpro-scraper?apikey=' : process.env.XTPS,
XEPS: process.env.XEPS === undefined ?'photo-scraper?apikey=' : process.env.XEPS,
XAPI: process.env.XAPI === undefined ?'alexaapikey' : process.env.XAPI,
LOCKB: process.env.LOCKB === undefined ?'bx' : process.env.LOCKB,
LOCKA: process.env.LOCKA === undefined ?'Ikyy69' : process.env.LOCKA,
LOCKH: process.env.LOCKH === undefined ?'https://' : process.env.LOCKH,
LOCKHU: process.env.LOCKHU === undefined ?'hunter' : process.env.LOCKHU,
DRIVECOM: process.env.DRIVECOM === undefined ?'://drive.google.com/' : process.env.DRIVECOM,
TAPI6: process.env.TAPI6 === undefined ?'TEENUU5' : process.env.TAPI,
TAPI7: process.env.TAPI7 === undefined ?'TEENUU6' : process.env.TAPI,
TAPI8: process.env.TAPI8 === undefined ?'TEENUU7' : process.env.TAPI,
TAPI9: process.env.TAPI9 === undefined ?'TEENUU8' : process.env.TAPI,
TAPI10: process.env.TAPI10 === undefined ?'TEENUU9' : process.env.TAPI,
TAPI11: process.env.TAPI11 === undefined ?'TEENUU10' : process.env.TAPI,
TAPI12: process.env.TAPI12 === undefined ?'TEENUU11' : process.env.TAPI,
TAPI13: process.env.TAPI13 === undefined ?'TEENUU12' : process.env.TAPI,
TAPI14: process.env.TAPI14 === undefined ?'TEENUU13' : process.env.TAPI,
TAPI15: process.env.TAPI15 === undefined ?'TEENUU14' : process.env.TAPI,
TAPI16: process.env.TAPI16 === undefined ?'TEENUU15' : process.env.TAPI,
HACKER: process.env.HACKER === undefined ?'h4ck3rs404' : process.env.HACKER,
A_HACKER: process.env.A_HACKER === undefined ?'h4ck3rs404-api' : process.env.A_HACKER,
DEVELOPER: 'HATZU TEAM',
AUTHOR: 'AMAZONE ALEXA',
GIT: 'https://github.com/jesonpro/ales.git',
HEROKU: {
HEROKU: process.env.HEROKU === undefined ? false : convertToBool(process.env.HEROKU),
API_KEY: process.env.HEROKU_API_KEY === undefined ? '' : process.env.HEROKU_API_KEY,
APP_NAME: process.env.HEROKU_APP_NAME === undefined ? '' : process.env.HEROKU_APP_NAME
},
DATABASE_URL: DATABASE_URL,
ON: "hunter",
CCN: "Ikyy69",
ON: "hunter",
HLOCK: "hadi-api",
ZTH: "d537895142",
DATABASE: DATABASE_URL === './whatsasena.db' ? new Sequelize({ dialect: "sqlite", storage: DATABASE_URL, logging: DEBUG }) : new Sequelize(DATABASE_URL, { dialectOptions: { ssl: { require: true, rejectUnauthorized: false } }, logging: DEBUG }),
RBG_API_KEY: process.env.REMOVE_BG_API_KEY === undefined ?'rjVLfqfPmpytoDDqvGt7kRbx' : process.env.REMOVE_BG_API_KEY,
NO_ONLINE: process.env.NO_ONLINE === undefined ? true : convertToBool(process.env.NO_ONLINE),
SUDO: process.env.SUDO === undefined ? false : process.env.SUDO,
DEBUG: DEBUG,
COFFEEHOUSE_API_KEY: process.env.COFFEEHOUSE_API_KEY === undefined ? false : process.env.COFFEEHOUSE_API_KEY,
WITAI_API: "TEYMELA6DMC4XB5YM3SPTTQWUUIBKURG",
};