Create app.json
This commit is contained in:
parent
d1e7f3fc31
commit
232d13d19a
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"name": "python-aria-mirror-bot ",
|
||||
"description": "Telegram mirror bot with python",
|
||||
"logo": "https://telegra.ph/file/e15e9ac9c5885b015e3ab.jpg",
|
||||
"keywords": [
|
||||
"telegram",
|
||||
"python"
|
||||
],
|
||||
"repository": "https://github.com/breakdowns/slam",
|
||||
"website": "https://github.com/breakdowns/slam-mirrorbot",
|
||||
"success_url": "https://github.com/breakdowns/slam-mirrorbot/blob/master/README.md",
|
||||
"stack": "container",
|
||||
"env": {
|
||||
"ENV": {
|
||||
"description": "Setting this to ANYTHING will enable Webhooks when in env mode",
|
||||
"value": "ANYTHING"
|
||||
},
|
||||
"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.",
|
||||
"value": "/home/username/mirror-bot/downloads",
|
||||
"required": false
|
||||
},
|
||||
"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 of the Owner of the Bot. Get it by using /info in MissRoseBot",
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue