Skip to content

Commit

Permalink
Merge pull request #14 from MR-NIMA-X/main
Browse files Browse the repository at this point in the history
HEROKU TEMPLATE DEPLOY
  • Loading branch information
DarkMakerofc authored Nov 4, 2023
2 parents a1bf19c + 39c3470 commit 9c036eb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
25 changes: 25 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Whatsapp Ai Bot",
"description": "This is an Open Ai Chat Gpt whatsapp bot created by mr nima.",
"repository": "https://github.com/DarkMakerofc/OpenAi-ChatGPT-Bot",
"logo": "https://telegra.ph/file/7e4a883eab0f96664798e.jpg",
"keywords": ["nodejs","Bot","WhatsApp Ai Bot" ],
"env": {
"SESSION_ID": {
"description": "Type the SESSION_ID you got from scaning QR [ https://gpt-qr-code.onrender.com ]",
"required": true,
"value": ""
}
},
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-nodejs.git"
}
],
"formation": {
"worker": {
"quantity": 1,
"size": "eco"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@adiwajshing/baileys": "npm:[email protected]",
"@adiwajshing/keyed-db": "^0.2.4",
"chalk": "^4.1.2",
"mrnima-openai-chatgpt-bot": "^0.1.2",
"mrnima-openai-chatgpt-bot": "^0.1.4",
"openai": "^3.1.0",
"qrcode-terminal": "^0.12.0"
},
Expand Down
3 changes: 2 additions & 1 deletion settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ global.CAPTION = '*© 𝙶𝙴𝙽𝙴𝚁𝙰𝚃𝙴𝙳 𝙱𝚈 𝙾𝙿𝙴
📌⭕ 𝗬𝗢𝗨 𝗠𝗨𝗦𝗧 𝗣𝗥𝗢𝗩𝗜𝗗𝗘 𝗕𝗘𝗙𝗢𝗥𝗘 𝗗𝗘𝗣𝗟𝗢𝗬 𝗕𝗢𝗧 📌⭕
> Ai Bot Password Get From Watching This Video
*/
var SESSION_ID = ''
global.AI_PASSWORD = 'king-nima-gpt-bot'
global.SESSION_ID = ''
global.SESSION_ID = process.env.SESSION_ID || SESSION_ID

/*
🎲 𝗢𝗧𝗛𝗘𝗥 𝗦𝗘𝗧𝗜𝗡𝗚𝗦
Expand Down

0 comments on commit 9c036eb

Please sign in to comment.