forked from Spyderzz/Userbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
190 lines (190 loc) · 6.13 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "Telegram User Bot",
"description": "[Paperplane Extended] A modular Telegram userbot running on Python 3.6+ with an sqlalchemy database.",
"logo": "https://i.imgur.com/ATSG4w3.png",
"keywords": [
"telegram",
"userbot",
"plugin",
"modular",
"productivity"
],
"repository": "https://github.com/AvinashReddy3108/PaperplaneExtended",
"website": "https://telegra.ph/How-to-host-a-Telegram-Userbot-07-24",
"success_url": "https://t.me/PaperplaneExtended",
"env": {
"API_KEY": {
"description": "Get this value from my.telegram.org.",
"required": true
},
"API_HASH": {
"description": "Get this value from my.telegram.org.",
"required": true
},
"STRING_SESSION": {
"description": "Get this value by running [python3 string_session.py] in Termux or local system.",
"required": true
},
"HEROKU_MEMEZ": {
"description": "This should be True if the userbor is running on a Heroku Dyno.",
"value": "True",
"required": true
},
"UPSTREAM_REPO_URL": {
"description": "In case you maintain a fork, add your repo URL here.",
"required": false
},
"HEROKU_API_KEY": {
"description": "Your Heroku API key, get it from 'https://dashboard.heroku.com/account'",
"value": ""
},
"HEROKU_APP_NAME": {
"description": "Add the Heroku app name here. It helps with userbot updates.",
"required": false
},
"COUNTRY": {
"description": "Set your Country to be used in the .time and .date commands.",
"required": false
},
"TZ_NUMBER": {
"description": "Change this value in case your country has multiple Time Zones.",
"value": "1",
"required": false
},
"CHROME_DRIVER": {
"description": "ChromeDriver location for selenium based modules.",
"value": "/app/.chromedriver/bin/chromedriver",
"required": false
},
"GOOGLE_CHROME_BIN": {
"description": "Google Chrome (or) Chromium binary location for selenium based modules.",
"value": "/app/.apt/usr/bin/google-chrome",
"required": false
},
"OPEN_WEATHER_MAP_APPID": {
"description": "Get your own APPID (API key)from https://api.openweathermap.org/data/2.5/weather",
"required": false
},
"BOTLOG": {
"description": "Incase you want to turn off logging, put this to false",
"value": "False"
},
"BOTLOG_CHATID": {
"description": "ChatID of the Log group. Set it to '0' if BOTLOG = False and/or if LOGSPAMMER = False.",
"value": "0"
},
"CONSOLE_LOGGER_VERBOSE": {
"description": "If you need verbosity on the console logging",
"value": "False"
},
"PM_AUTO_BAN": {
"description": "PM Auto-Ban Feature Switch. Also known as the 'bleep blop, this is a bot...' module.",
"value": "False"
},
"YOUTUBE_API_KEY": {
"description": "YouTube Data API Key for .yt command. Get from https://console.cloud.google.com",
"required": false
},
"OCR_SPACE_API_KEY": {
"description": "OCR API Key for .ocr command. Get from https://ocr.space/ocrapi",
"required": false
},
"REM_BG_API_KEY": {
"description": "API Key for .rbg command. Get from https://www.remove.bg/api",
"required": false
},
"ANTI_SPAMBOT": {
"description": "Kicks spambots from groups after they join. [Requires admin powers in groups to kick.]",
"value": "False"
},
"ANTI_SPAMBOT_SHOUT": {
"description": "Report spambots to @admins in groups after they join, just in case when you don't have admin powers to kick that shit yourself.",
"value": "False"
},
"TMP_DOWNLOAD_DIRECTORY": {
"description": "Download location for many modules (GDrive, .download etc..)",
"value": "./downloads/"
},
"CLEAN_WELCOME": {
"description": "When a new person joins, the old welcome message is deleted.",
"value": "True"
},
"G_DRIVE_CLIENT_ID": {
"description": "Enter Your Client ID for Google Drive.",
"required": false
},
"LASTFM_API": {
"description": "API Key for Last.FM module. [Get one from - https://www.last.fm/api/account/create]",
"required": false
},
"LASTFM_SECRET": {
"description": "SECRET Key for Last.FM module. [Get one from - https://www.last.fm/api/account/create]",
"required": false
},
"LASTFM_USERNAME": {
"description": "Last.FM Username",
"required": false
},
"LASTFM_PASSWORD": {
"description": "Last.FM Password",
"required": false
},
"BIO_PREFIX": {
"description": "Prefix for Last.FM Module Bio.",
"required": false
},
"DEFAULT_BIO": {
"description": "Default profile bio.",
"value": "[PM = Report Spam] Beware of my userbot.",
"required": false
},
"ALIVE_NAME": {
"description": "Name to show in .alive message",
"required": false
},
"G_DRIVE_CLIENT_SECRET": {
"description": "Enter Your Client Secret for Google Drive.",
"required": false
},
"G_DRIVE_AUTH_TOKEN_DATA": {
"description": "Enter the Google Drive authentication data, as a JSON structure.",
"required": false
},
"WEATHER_DEFCITY": {
"description": "Set the default city for the userbot's weather module.",
"required": false
},
"LOGSPAMMER": {
"description": "Set this to True in case you want the error logs to be stored in the userbot log group, instead of spitting out the file in the current chat, requires a valid BOTLOG_CHATID to be set.",
"value": "True"
}
},
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "9.5"
}
}
],
"buildpacks": [
{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
},
{
"url": "https://github.com/opendoor-labs/heroku-buildpack-p7zip"
},
{
"url": "https://github.com/amivin/aria2-heroku"
},
{
"url": "https://github.com/heroku/heroku-buildpack-google-chrome"
},
{
"url": "https://github.com/heroku/heroku-buildpack-chromedriver"
},
{
"url": "heroku/python"
}
]
}