forked from avipatilpro/FileStreamBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
111 lines (111 loc) · 3.3 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
{
"name": "FileStreamBot",
"description": "A Telegram Bot to Convert Telegram Files To Direct & Streamable Links.",
"keywords": [
"telegram",
"files",
"stream"
],
"repository": "https://github.com/avipatilpro/FileStreamBot/",
"success_url": "/",
"logo": "https://i.ibb.co/ZJzJ9Hq/link-3x.png",
"env": {
"ENV": {
"description": "Set this to True if you don't want to crash the bot",
"value": "True"
},
"API_ID": {
"description": "Get this value from https://my.telegram.org"
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org"
},
"BOT_TOKEN": {
"description": "Get this value from @BotFather"
},
"LOG_CHANNEL": {
"description": "The BIN Channel ID. Read the readme for more info about this var"
},
"OWNER_ID": {
"description": "Your Telegram User ID as Owner"
},
"DATABASE_URL": {
"description": "MongoDB URI for saving User Data and Files List created by user."
},
"AUTH_USERS": {
"description": "Put IDs of Banned Channels where bot will not work. You can add multiple IDs & separate with Space.",
"required": false
},
"UPDATES_CHANNEL": {
"description": "Channel Username without `@` to set channel as Update Channel",
"required": false
},
"FORCE_UPDATES_CHANNEL": {
"description": "Set to True, so every user have to Join update channel to use the bot.",
"required": false
},
"SLEEP_THRESHOLD": {
"description": "Set global flood wait threshold, auto-retry requests under 60s. ",
"required": false
},
"PING_INTERVAL": {
"description": " Heroku ping interval (ms), defaults to 1200 (20 minutes).",
"required": false
},
"WORKERS": {
"description": "No. of workers that is to be assigned.",
"required": false
},
"PORT": {
"description": "The port that you want your webapp to be listened to",
"required": false
},
"NO_PORT": {
"description": "If you don't want your port to be displayed. Set True or False",
"value": "True",
"required": false
},
"HAS_SSL": {
"description": "(can be either True or False) If you want the generated links in https format.",
"value": "True",
"required": false
},
"KEEP_ALIVE": {
"description": "Self-ping server every PING_INTERVAL sec to avoid sleeping",
"value": "True",
"required": false
},
"BIND_ADRESS": {
"description": "Your server bind adress. Defauls to 0.0.0.0",
"required": false
},
"FQDN": {
"description": "Heroku app Link without http/s, you can set later. its required",
"required": false
},
"SESSION_NAME": {
"description": "Name for the Database created on your MongoDB. Defaults to FileStream",
"required": false
},
"IMAGE_FILEID": {
"description": "To set Image at /files command. Defaults to pre-set image.",
"required": false
},
"MODE": {
"description": "Should be set to `secondary` if you only want to use the server for serving files.",
"required": false
}
},
"buildpacks": [
{
"url": "heroku/python"
}
],
"stack": "heroku-22",
"formation": {
"web": {
"quantity": 1,
"size": "eco"
}
}
}