Skip to content
Kevin edited this page Mar 12, 2023 · 12 revisions

Features

Required Variables

Variable Name Value
API_ID (required) Telegram api_id obtained from https://my.telegram.org/apps.
API_HASH (required) Telegram api_hash obtained from https://my.telegram.org/apps.
BOT_TOKEN (required) Create a bot using @BotFather, and get the Telegram API token.
ADMINS ID of Admins. Separate multiple Admins by comma
OWNER_ID (required) ID of Owner.
DATABASE_URI (required) mongoDB URI. Get this value from mongoDB. For more help watch this video
DATABASE_NAME (required) Name of the database in mongoDB. For more help watch this video

Optional Variables

Variable Name Value
IS_PRIVATE Set True if you want to use the bot for only Private (Admins) Use and not for users
LOG_CHANNEL Log Channel ID for information of users
UPDATE_CHANNEL Enter the username or id of the channel for force subscription.
BASE_SITE Any AdLinkFLy Website. Ex: droplink.co. This website will be the default users shortener website. Users can change their base site anytime
CHANNELS Set True if you want channels to be available for converting
CHANNEL_ID Your channel list to convert posts. Separate channels list by space
FORWARD_MESSAGE Set True if you want to forward posts to be converted in your channels.
LINK_BYPASS Enter True if you want to Bypass Shortener Website Links. Default is False. Available websites: droplink.co. Note: Entering True means every link will at least take upto 6 seconds to bypass. So enable accordingly. Only Links of the available website will be bypassed. Droplink URLs won't be bypassed in the Heroku server as droplink is not responding to Heroku Servers

Extra Variables

Variable Name Value
SOURCE_CODE Your Github repo link for UPSTREAM_REPO
WELCOME_IMAGE Enter telegraph or any direct image links.
WEB_SERVER True if deploying in Replit, Koyeb, Heroku

Clone this wiki locally