forked from avipatilpro/FileStreamBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
117 lines (117 loc) · 3.56 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
{
"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"
},
"FLOG_CHANNEL": {
"description": "ID of Channel Where store files sent by users. Read the readme for more info about this var"
},
"ULOG_CHANNEL": {
"description": "ID of Channel Where store New Users data. 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 Auth Usrs where bot will 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_SUB_ID": {
"description": "Channel ID starts with -100 to set channel as Force Sub Channel",
"required": false
},
"FORCE_SUB": {
"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
},
"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
},
"BIND_ADDRESS": {
"description": "Your server bind address. default 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
},
"FILE_PIC": {
"description": "To set Image at /files command. Defaults to pre-set image.",
"required": false
},
"START_PIC": {
"description": "To set Image at /start command. Defaults to pre-set image.",
"required": false
},
"VERIFY_PIC": {
"description": "To set Image at Force Subscribe Verify. 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"
}
}
}