forked from MoveAngel/One4uBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
214 lines (214 loc) · 7.16 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "Telegram One 4u Bot",
"description": "[One4uBot] A modular Telegram userbot running on Python 3.8+ with an sqlalchemy database.",
"logo": "https://i.ibb.co/CzXcJ0S/photo-2020-01-28-23-32-03.jpg",
"keywords": [
"telegram",
"userbot",
"plugin",
"modular",
"productivity"
],
"repository": "https://github.com/MoveAngel/One4uBot",
"website": "https://telegra.ph/How-to-host-a-Telegram-Userbot-11-02",
"success_url": "https://t.me/userbotindo",
"stack": "container",
"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 userbot is running on a Heroku Dyno.",
"value": "True",
"required": true
},
"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": true
},
"GITHUB_ACCESS_TOKEN": {
"description": "Your GITHUB_ACCESS_TOKEN, get it from 'https://github.com/settings/tokens'",
"value": "",
"required": false
},
"GIT_REPO_NAME": {
"description": "Add the GIT_REPO_NAME here. It helps with commit on GitHub.",
"required": false
},
"UPSTREAM_REPO_URL": {
"description": "In case you maintain a fork, add your repo URL here.",
"required": false
},
"UPSTREAM_REPO_BRANCH": {
"description": "In case you maintain a fork, add your repo BRANCH here.",
"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": "/usr/bin/chromedriver",
"required": false
},
"GOOGLE_CHROME_BIN": {
"description": "Google Chrome (or) Chromium binary location for selenium based modules.",
"value": "/usr/bin/chromium-browser",
"required": false
},
"OPEN_WEATHER_MAP_APPID": {
"description": "Get your own APPID (API key)from https://api.openweathermap.org/data/2.5/weather",
"required": false
},
"GENIUS_ACCESS_TOKEN": {
"description": "Client Access Token from https://genius.com/api-clients.",
"required": false
},
"BOTLOG": {
"description": "Incase you want to turn off logging, put this to false",
"value": "False"
},
"DEEZER_ARL_TOKEN": {
"description": "Fill of your Deezer ARL token. Get from https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Login+via+userToken",
"required": false,
"value": ""
},
"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"
},
"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/"
},
"USER_TERM_ALIAS": {
"description": "Set alias name of user for term bash command",
"required": false
},
"UPDATER_ALIAS": {
"description": "Set alias name for updater",
"required": false
},
"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
},
"G_DRIVE_DATA": {
"description": "Enter the Google Drive authentication data, as a JSON structure.",
"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] I ❤ ️One4uBot",
"required": false
},
"ALIVE_NAME": {
"description": "Name to show in .alive message",
"required": false
},
"ALIVE_LOGO": {
"description": "Show Image/Logo in .alive message. Fill value of image your link image, use telegra.ph / i.ibb.co to get your own image",
"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
},
"WEATHER_DEFLANG": {
"description": "Set the default language for the userbot's weather module.",
"value": "en",
"required": false
},
"USR_TOKEN_UPTOBOX": {
"description": "API for direct link uptobox, https://docs.uptobox.com/#how-to-find-my-api-token",
"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": "False"
}
},
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "12"
}
}
]
}