forked from DarkWinzo/Queen-AI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
const fs = require('fs') | ||
const chalk = require('chalk') | ||
|
||
|
||
|
||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
global.session = process.env.SESSION_ID || ""; | ||
global.session = process.env.SESSION_ID || "PUT HERE"; //enter your session id here | ||
|
||
global.openaikey = process.env.OPEN_AI_KEY || "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"; //Put Your Open AI Api key | ||
global.openaikey = process.env.OPEN_AI_KEY || "ENTER_API-KEY_HERE"; //Put Your Open AI Api key | ||
|
||
global.ownername = process.env.OWNER_NAME || "DarkWinzo"; | ||
global.ownername = process.env.OWNER_NAME || "DarkWinzo"; //Queen-AI Owner Name here | ||
|
||
global.ownernumber = process.env.OWNER_NUMBER || "94775200935"; | ||
global.ownernumber = process.env.OWNER_NUMBER || "94775200935"; //Owner whatsapp number here | ||
|
||
global.language = "SI"; //Enter bot working language EN = English / SI = Sinhala /ML = Malay | ||
global.language = "EN"; //Enter bot working language EN = English / SI = Sinhala /ML = Malay | ||
|
||
global.prefix = ['.'] //Don't Change | ||
|
||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
let file = require.resolve(__filename) | ||
fs.watchFile(file, () => { | ||
fs.unwatchFile(file) | ||
console.log(chalk.redBright("Update - 'config.js'")) | ||
console.log(chalk.redBright("Update config.js")) | ||
delete require.cache[file] | ||
require(file) | ||
}) |