kevinnadar22 / URL-Shortener-V2

URL Shortener for Adlinkfly Based Websites

Home Page:https://telegram.me/wagmihuobibot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Shortener Bot V2

Fork Stars License Issues



Logo

URL Shortener Bot V2

A Shortener and Convertor Bot
· Report Bug · Features · Deploy · Variables

Table of Contents
  1. Description
  2. Usage
  3. Commands
  4. About
  5. Deploy
  6. Tech Stack
  7. Support
  8. Disclaimer
  9. Credits

Description

Now this bot can be used by users also. Only admin has access to channel support. Bot Owner API will be used in channel post converting. You can restrict users from using this bot by setting env IS_PRIVATE to True

This Is Just An Simple Advance Shortener and Converter Bot Completely Rewritten Version Of URL Shortener

Just Send Any Link To Short. It Will Short Link or Save it to your MDisk Account

Usage

**How To Use Me!?**

  • -> Send any link or post of links

  • -> Add me to your channel as admin with full previlages to convert channel's post

For more information about usages, see the documentation

Commands

start - start it
help - help Command
about - about Command
method - to set your preferred method
shortener_api - set shortener api
mdisk_api - set mdisk api
header - set header
footer - set footer
username - set username to replace others
banner_image - set banner image
me - know about you
base_site - change base site
include_domain - set include domain
exclude_domain - set exclude domain
stats - Stats of the server and bot

Admin only use commands

batch -100XX - to convert link for multiple posts
logs - Send the log messages
restart - restart / re-deploy the server
ban - to ban users
unban - to unban users
info - get user info

About

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_URL (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

For more information about optional variables see the wiki documentation

Deploy

You can deploy this bot anywhere.

Name Deploy
Replit Replit (Recommended) See Guide
Heroku Heroku Deploy
Koyeb Koyeb Deploy to Koyeb
VPS VPS See Guide

Tech Stack

Language: Python 3.10.2

Library: Pyrogram 2.0.30

Support

Contact Our DEV For Support/Assistance

Report Bugs, Give Feature Requests There..
Do Fork And Star The Repository If You Liked It.

Disclaimer

GNU Affero General Public License v3.0
Licensed under GNU AGPL v3.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

Credits

About

URL Shortener for Adlinkfly Based Websites

https://telegram.me/wagmihuobibot

License:GNU Affero General Public License v3.0


Languages

Language:Python 99.0%Language:Dockerfile 0.5%Language:Shell 0.4%Language:Procfile 0.0%