forked from MRK-YT/MT-screenshot-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
81 lines (81 loc) · 2.65 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
{
"name": "Ajjmin's Screenshot Bot",
"description": "Screenshot /Sample Video / Trim Video files",
"stack": "heroku-20",
"keywords": [
"telegram",
"Screenshot",
"Sample video",
"Trim Video"
],
"repository": "https://github.com/ajjmin/MT-screenshot-bot/",
"env": {
"API_ID": {
"description": "Your Telegram API ID. Get this value from https://youtu.be/5eEsvLAKVc0! ",
"value": "3596292"
},
"API_HASH": {
"description": " Your Telegram API HASH. Get this value from https://youtu.be/5eEsvLAKVc0!",
"value": "7c59a90e121073598e6d807a80c83e9b"
},
"BOT_TOKEN": {
"description": "Your Bot token, as a string. https://youtu.be/cB4UduCcNWs",
"value": "2001206051:AAHxFHFa2exQXLEt3keluc4b-pSP9irDlsI"
},
"SESSION_NAME": {
"description": "Name you want to call your bot's session, Eg: bot username.",
"value": "ajjmin_scrbot"
},
"LOG_CHANNEL": {
"description": "Log channel's id.",
"value": "1001582370007"
},
"DATABASE_URL": {
"description": "Mongodb database URI from https://youtu.be/gBLTsH-IXr0",
"value": "mongodb+srv://ajjmin:[email protected]/myFirstDatabase?retryWrites=true&w=majority"
},
"AUTH_USERS": {
"description": "Authorised user(s) id separated by space.",
"value": "686653331"
},
"MAX_PROCESSES_PER_USER": {
"description": "Number of parallel processes each user can have, defaults to 2.",
"value": "4",
"required": false
},
"MAX_TRIM_DURATION": {
"description": "Maximum allowed seconds for trimming. Defaults to 600.",
"value": "600",
"required": false
},
"TRACK_CHANNEL": {
"description": "User activity tracking channel's id. Only needed if you want to track and block any user. Disabled by default.",
"required": false
},
"SLOW_SPEED_DELAY": {
"description": "Delay required between each request. Defaults to 5s.",
"value": "5",
"required": false
},
"TIMEOUT": {
"description": "Maximum time alloted to each process in seconds, after which process will be cancelled. Defaults to 1800s(30 mins)",
"value": "1800",
"required": false
},
"DEBUG": {
"description": "Set some value to use DEBUG logging level. INFO by default",
"required": false
},
"WORKER_COUNT": {
"description": "Maximum number of processes should bot handle at a time to control overload on bot default value is 20.",
"required": false
}
},
"addons": [
],
"buildpacks": [{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
}, {
"url": "heroku/python"
}]
}