forked from suffiny2/python-aria-mirror-bot-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
74 lines (74 loc) · 2.78 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
{
"name": "python-aria-mirror-bot ",
"description": "Telegram mirror bot with python",
"logo": "https://telegra.ph/file/e15e9ac9c5885b015e3ab.jpg",
"keywords": [
"telegram",
"bot",
"aria",
"python"
],
"repository": "https://github.com/afdulfauzan/python-aria-mirror-bot",
"website": "",
"success_url": "",
"stack": "container",
"env": {
"BOT_TOKEN": {
"description": "The telegram bot token that you get from @BotFather.",
"required": true
},
"GDRIVE_FOLDER_ID": {
"description": "This is the folder ID of the Google Drive Folder to which you want to upload all the mirrors.",
"required": true
},
"DOWNLOAD_DIR": {
"description": "The path to the local folder where the downloads should be downloaded to.",
"required": true
},
"DOWNLOAD_STATUS_UPDATE_INTERVAL": {
"description": "A short interval of time in seconds after which the Mirror progress message is updated. (I recommend to keep it 5 seconds at least).",
"value": "5",
"required":false
},
"OWNER_ID": {
"description": "The Telegram user ID (not username) of the owner of the bot.",
"required": true
},
"AUTO_DELETE_MESSAGE_DURATION": {
"description": "Interval of time (in seconds), after which the bot deletes it's message (and command message) which is expected to be viewed instantly. Note: Set to -1 to never automatically delete messages.",
"required": true
},
"IS_TEAM_DRIVE": {
"description": "Set to 'True' if GDRIVE_FOLDER_ID is from a Team Drive else False or Leave it empty.",
"required": false
},
"USE_SERVICE_ACCOUNTS": {
"description": "Whether to use service accounts or not. For this to work see 'Using service accounts' section below.",
"required": false
},
"INDEX_URL": {
"description": "Refer to https://github.com/maple3142/GDIndex/ The URL should not have any trailing '/'.",
"required": false
},
"TELEGRAM_API": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org DO NOT put this in quotes.",
"required": true
},
"TELEGRAM_HASH": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org.",
"required": true
},
"USER_SESSION_STRING": {
"description": " Session string generated by running: python3 generate_string_session.py in console heroku.",
"required": true
}
},
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "12"
}
}
]
}