-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.env
107 lines (92 loc) · 4.21 KB
/
config.env
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
# Remove this line before deploying
# REQUIRED CONFIG
BOT_TOKEN = "1757628697:AAF6TZUKCehYqUYQNAhafp0CzUR2YelfUzU"
GDRIVE_FOLDER_ID = "1l-da-at3A4N44EEkAhppZalhpmU2XQ4"
DRIVE_ID = "1l-da-at3A4N44EEkAhppZalhpmU2XQ4S"
DRIVE_NAME = "Priiiiyo Mirror Cloud"
OWNER_ID = "1032152179"
DOWNLOAD_DIR = "/usr/src/app/downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 5
AUTO_DELETE_MESSAGE_DURATION = 20
IS_TEAM_DRIVE = "True"
TELEGRAM_API = 1226556
TELEGRAM_HASH = "3c58177c7f609d73d775fce67e394788"
# MOD CONFIG
LOG_GROUP = "-1001401549638"
CHAT_NAME = "Priiiiyo Mirror ZonE"
LOG_CHANNEL= "-1001419339871"
LOG_UNAME = "@P_MirrorUploads"
BOT_NO = "1"
# OPTIONAL CONFIG
DATABASE_URL = "postgres://vfjbynnpuogqnh:725959ed58f13016a27270d029f121a0533fe02b7abe9edd6f9db07072ade26e@ec2-54-163-254-204.compute-1.amazonaws.com:5432/dc320dgvqmdrjh"
AUTHORIZED_CHATS = "-1001355559943 -1001401549638 -1001461691713 -1001426243069" # Split by space
SUDO_USERS = "" # Split by space
IGNORE_PENDING_REQUESTS = "True"
USE_SERVICE_ACCOUNTS = "False"
INDEX_URL = "https://www.priiiiyocloud.workers.dev/0:/"
INDEX_LINK = "https://www.priiiiyocloud.workers.dev/0:/"
STATUS_LIMIT = "4" # Recommend limit status to 4 tasks
UPTOBOX_TOKEN = ""
MEGA_API_KEY = ""
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
BLOCK_MEGA_FOLDER = ""
BLOCK_MEGA_LINKS = ""
STOP_DUPLICATE = "True"
SHORTENER = ""
SHORTENER_API = ""
# qBittorrent
IS_VPS = "" # Don't set this to True even if VPS, unless facing error with web server
SERVER_PORT = "80" # Only if IS_VPS is True
BASE_URL_OF_BOT = "https://priiiiyo-mirrorbot.herokuapp.com" # Web Link, Required for Heroku to avoid sleep or use worker if you don't want to use web (selection)
# If you want to use Credentials externally from Index Links, fill these vars with the direct links
# These are optional, if you don't know, simply leave them, don't fill anything in them.
ACCOUNTS_ZIP_URL = "https://www.priiiiyocloud.workers.dev/0://accounts.zip"
TOKEN_PICKLE_URL = "https://www.priiiiyocloud.workers.dev/0://token_sa.pickle"
MULTI_SEARCH_URL = "https://gist.github.com/priiiiyo/c23f59df4eec1263ca2ce5990b1a0c8d/raw/drive_folder" # You can use gist raw link (remove commit id from the link, like config raw link check Heroku guide)
# To use limit leave space between number and unit. Available units is (gb or GB, tb or TB)
TORRENT_DIRECT_LIMIT = "15 GB"
TAR_UNZIP_LIMIT = "10 GB"
CLONE_LIMIT = "20 GB"
MEGA_LIMIT = "5 GB"
# Optional for Heroku features (dyno restart (/reboot) and update cmd soon)
HEROKU_API_KEY = ""
HEROKU_APP_NAME = ""
# View Link button to open file Index Link in browser instead of direct download link
# You can figure out if it's compatible with your Index code or not, open any video from you Index and check if the END of link from browser link bar is ?a=view, if yes make it "True" it will work (Compatible with Bhadoo Index Code)
VIEW_LINK = "True"
# Single Character For Finished & Unfinished Progress
FINISHED_PROGRESS_STR = "●"
UNFINISHED_PROGRESS_STR = "○"
BOT_USERNAME = "@priiiyo_mbot"
BOT_NAME = "Priiiyo Mirror Bot"
# Time Zone
TIMEZONE = "Asia/Dhaka" #get from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Channel & Support Group
CHANNEL_LINK = "https://t.me/P_MirrorUpdates"
SUPPORT_LINK = "https://t.me/P_MirrorUploads"
RESTARTED_GROUP_ID = "-1001401549638"
RESTARTED_GROUP_ID2 = "-1001426243069"
# Description For Uploading At Google Drive
GD_INFO = "Uploaded by Mirrorbot"
ORDER_SORT = "modifiedTime desc"
#change gdrive button
GD_BUTTON = "☁️ Google Drive ☁️"
INDEX_BUTTON = "⚡ Index Link ⚡"
VIEW_BUTTON = "🌐 View Link 🌐"
IMAGE_URL = "https://telegra.ph/file/b5d9a2910d65ce0596f59.jpg"
# Change List Name And Author
AUTHOR_NAME = "Uploaded By priiiiyo-mirrorbot "
AUTHOR_URL = "https://github.com/priiiiyo/priiiiyo-mirrorbot"
TELEGRAPH_DRIVE = "Google Drive"
TELEGRAPH_INDEX = "Index Link"
TELEGRAPH_VIEW = "View Link"
SEARCH_VIEW_BUTTON = "🔎"
# Add more buttons (Three buttons are already added of Drive Link, Index Link, and View Link, you can add extra buttons too, these are optional)
# If you don't know what are below entries, simply leave them, Don't fill anything in them.
BUTTON_FOUR_NAME = ""
BUTTON_FOUR_URL = ""
BUTTON_FIVE_NAME = ""
BUTTON_FIVE_URL = ""
BUTTON_SIX_NAME = ""
BUTTON_SIX_URL = ""