Skip to content

Instantly share code, notes, and snippets.

@sengkyaut
Last active November 26, 2021 08:07
Show Gist options
  • Save sengkyaut/3815f24c1d06bb5333d64b04a0b8e718 to your computer and use it in GitHub Desktop.
Save sengkyaut/3815f24c1d06bb5333d64b04a0b8e718 to your computer and use it in GitHub Desktop.
ppp
# REQUIRED CONFIG
BOT_TOKEN = "2010034113:AAEqUxzi__dS6lcT5EX3dHSd4OIEuVLUHJc"
GDRIVE_FOLDER_ID = "0AHpxhypbUswoUk9PVA"
OWNER_ID = 1086851583
DOWNLOAD_DIR = "./downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 5
AUTO_DELETE_MESSAGE_DURATION = 20
IS_TEAM_DRIVE = "True"
TELEGRAM_API = 6878280
TELEGRAM_HASH = "e0b90ef2bcda7c3a8c88bc69cfc72b78"
# OPTIONAL CONFIG
DATABASE_URL = ""
AUTHORIZED_CHATS = "1743006618" # Split by space
SUDO_USERS = "1086851583" # Split by space
IGNORE_PENDING_REQUESTS = ""
USE_SERVICE_ACCOUNTS = ""
INDEX_URL = "https://mv.stff.workers.dev/5:"
STATUS_LIMIT = "" # Recommend limit status to 4 tasks
UPTOBOX_TOKEN = ""
MEGA_API_KEY = ""
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
BLOCK_MEGA_FOLDER = ""
BLOCK_MEGA_LINKS = ""
STOP_DUPLICATE = ""
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 = "" # 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 = ""
TOKEN_PICKLE_URL = ""
# To use limit leave space between number and unit. Available units is (gb or GB, tb or TB)
TORRENT_DIRECT_LIMIT = ""
TAR_UNZIP_LIMIT = ""
CLONE_LIMIT = ""
MEGA_LIMIT = ""
# Required for Heroku
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 = ""
# 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 = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment