Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkWinzo authored Apr 28, 2023
1 parent 8191ac2 commit d0b6ade
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions config.js
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)
})

0 comments on commit d0b6ade

Please sign in to comment.