Skip to content

Commit

Permalink
Merge pull request tuhinpal#27 from cachecleanerjeet/main
Browse files Browse the repository at this point in the history
Added OCR_SPACE_API_KEY in app.json & Fixed railway deploy url
  • Loading branch information
tuhinpal authored Jul 1, 2021
2 parents 4de4092 + 2a43076 commit 8e83d8e
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 43 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
### Deploy :

[![Deploy with Heroku](https://www.herokucdn.com/deploy/button.svg "Deploy with Heroku")](https://heroku.com/deploy?template=https://github.com/TheWhatsBot/WhatsBot "Deploy with Heroku")<br>
[![Deploy+on+Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https://github.com/TheWhatsBot/WhatsBot&plugins=mongodb&envs=SESSION,PMPERMIT_ENABLED,PMPERMIT_MUTETIME,DEFAULT_TR_LANG,ENABLE_DELETE_ALERT,YT_DATA_API_KEY&SESSIONDesc=Puppeteer+Session.+Ge+it+by+running+genToken.js&PMPERMIT_ENABLEDDesc=Enable+Pmpermit+write+true+or+false+only&PMPERMIT_ENABLEDDefault=true&PMPERMIT_MUTETIMEDesc=How+many+seconds+an+user+get+muted+if+he+is+spamming.+Default+is+30+Minutes+(1800+Secs)&PMPERMIT_MUTETIMEDefault=1800&YT_DATA_API_KEYDesc=Youtube+DATA+API+key+grab+it+from+cloud.google.com&DEFAULT_TR_LANGDesc=Default+Translation+Language&DEFAULT_TR_LANGDefault=en&ENABLE_DELETE_ALERTDesc=If+true+and+if+someone+delete+message+in+PM,+Bot+will+send+the+deleted+message+in+that+chat+(Exclude+Media)&ENABLE_DELETE_ALERTDefault=true)<br>
[![Deploy+on+Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https://github.com/TheWhatsBot/WhatsBot&plugins=mongodb&envs=SESSION,PMPERMIT_ENABLED,PMPERMIT_MUTETIME,DEFAULT_TR_LANG,ENABLE_DELETE_ALERT,YT_DATA_API_KEY,OCR_SPACE_API_KEY&SESSIONDesc=Puppeteer+Session.+Ge+it+by+running+genToken.js&PMPERMIT_ENABLEDDesc=Enable+Pmpermit+write+true+or+false+only&PMPERMIT_ENABLEDDefault=true&PMPERMIT_MUTETIMEDesc=How+many+seconds+an+user+get+muted+if+he+is+spamming.+Default+is+30+Minutes+(1800+Secs)&PMPERMIT_MUTETIMEDefault=1800&YT_DATA_API_KEYDesc=Youtube+DATA+API+key+grab+it+from+cloud.google.com&DEFAULT_TR_LANGDesc=Default+Translation+Language&DEFAULT_TR_LANGDefault=en&ENABLE_DELETE_ALERTDesc=If+true+and+if+someone+delete+message+in+PM,+Bot+will+send+the+deleted+message+in+that+chat+(Exclude+Media)&ENABLE_DELETE_ALERTDefault=true&OCR_SPACE_API_KEYDesc=Get+it+from+https://ocr.space/OCRAPI)<br>
Read the [wiki](https://github.com/TheWhatsBot/WhatsBot/wiki/Deploy-with-Heroku) before Deploy it with Heroku<br><br>
[Deploy in VPS](https://github.com/TheWhatsBot/WhatsBot/wiki/Deploy-in-VPS)

Expand Down
88 changes: 46 additions & 42 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,48 @@
{
"name": "Whatsbot",
"description": "Modular Userbot for Whatsapp",
"repository": "https://github.com/TheWhatsBot/WhatsBot",
"logo": "https://telegra.ph/file/96ccad5945c18944c5f15.png",
"keywords": [
"whatsbot",
"whatsapp-userbot",
"whatsapp-bot",
"whatsapp-userbot",
"whatsapp"
],
"stack": "container",
"env": {
"SESSION": {
"description": "Puppeteer Session. Get it by running genToken.js",
"value": ""
},
"PMPERMIT_ENABLED": {
"description": "Enable Pmpermit write true or false only",
"value": "true"
},
"MONGODB_URL": {
"description": "MongoDB URL, Get it for free from cloud.mongodb.com",
"value": ""
},
"PMPERMIT_MUTETIME": {
"description": "How many seconds an user get muted if he is spamming. Default is 30 Minutes (1800 Secs)",
"value": "1800"
},
"YT_DATA_API_KEY": {
"description": "Youtube DATA API key, grab it from cloud.google.com",
"value": ""
},
"DEFAULT_TR_LANG": {
"description": "Default Translation Language",
"value": "en"
},
"ENABLE_DELETE_ALERT": {
"description": "If true & if someone delete message in PM, Bot will send the deleted message in that chat (Exclude Media)",
"value": "true"
}
"name": "Whatsbot",
"description": "Modular Userbot for Whatsapp",
"repository": "https://github.com/TheWhatsBot/WhatsBot",
"logo": "https://telegra.ph/file/96ccad5945c18944c5f15.png",
"keywords": [
"whatsbot",
"whatsapp-userbot",
"whatsapp-bot",
"whatsapp-userbot",
"whatsapp"
],
"stack": "container",
"env": {
"SESSION": {
"description": "Puppeteer Session. Get it by running genToken.js",
"value": ""
},
"PMPERMIT_ENABLED": {
"description": "Enable Pmpermit write true or false only",
"value": "true"
},
"MONGODB_URL": {
"description": "MongoDB URL, Get it for free from cloud.mongodb.com",
"value": ""
},
"PMPERMIT_MUTETIME": {
"description": "How many seconds an user get muted if he is spamming. Default is 30 Minutes (1800 Secs)",
"value": "1800"
},
"YT_DATA_API_KEY": {
"description": "Youtube DATA API key, grab it from cloud.google.com",
"value": ""
},
"DEFAULT_TR_LANG": {
"description": "Default Translation Language",
"value": "en"
},
"ENABLE_DELETE_ALERT": {
"description": "If true & if someone delete message in PM, Bot will send the deleted message in that chat (Exclude Media)",
"value": "true"
},
"OCR_SPACE_API_KEY": {
"description": "Get it from https://ocr.space/OCRAPI",
"value": ""
}
}
}
}

0 comments on commit 8e83d8e

Please sign in to comment.