forked from DarkWinzo/Queen-AI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
38 lines (36 loc) · 2.1 KB
/
config.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
/*
╭━━━┳╮ ╭┳━━━┳━━━┳━╮ ╭╮ ╭━━━┳━━╮
┃╭━╮┃┃ ┃┃╭━━┫╭━━┫┃╰╮┃┃ ┃╭━╮┣┫┣╯
┃┃ ┃┃┃ ┃┃╰━━┫╰━━┫╭╮╰╯┃ ┃┃ ┃┃┃┃
┃┃ ┃┃┃ ┃┃╭━━┫╭━━┫┃╰╮┃┃╭━━╮┃╰━╯┃┃┃
┃╰━╯┃╰━╯┃╰━━┫╰━━┫┃ ┃┃┃╰━━╯┃╭━╮┣┫┣╮
╰━━╮┣━━━┻━━━┻━━━┻╯ ╰━╯ ╰╯ ╰┻━━╯
╰╯
## Project Name => Queen-AI
## Project Version => 1.0.1
## Project Author => DarkWinzo
## Project license => MIT
## Project Team => DarkSide Team
## Module Name => config.js
## Coded By DarkWinzo
*/
const fs = require('fs');
const chalk = require('chalk');
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
module.exports = {
BASE_URL: "https://queen-api-production.up.railway.app", //Queen-AI Base API Url
SESSION_ID: process.env.SESSION_ID || "QUEEN-AI;;;InboundGrunge
", //enter your session id here
OWNER_NUMBER: process.env.OWNER_NUMBER || "254795852211", //Owner whatsapp number here
OWNER_NAME: process.env.OWNER_NAME || "Dracco", //Queen-AI Owner Name here
PREFIX: ".", //Don't Change This..
LANGUAGE: process.env.LANGUAGE || "EN" //Enter bot working language EN = English / SI = Sinhala /ML = Malayalam /HI =Hindi /UR = Urdu /FR = French
};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright("Update config.js"))
delete require.cache[file]
require(file)
});