Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Upload on Pdisk by Url, File and also by direct forward post from other channel.

#### The Easy Way

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy?template=https://github.com/OO7ROBot/pdisk_uploader)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy?template=https://github.com/Vampire421/pdisk_uploader)

##### Required Variables

Expand Down
8 changes: 4 additions & 4 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
API_HASH = environ.get('API_HASH', 'eb06d4abfb49dc3eeb1aeb98ae0f581e')
BOT_TOKEN = environ.get('BOT_TOKEN')
PDISK_API_KEY = environ.get('PDISK_API_KEY')
CHANNEL = environ.get('CHANNEL', 'MyTestBotZ')
CHANNEL = environ.get('CHANNEL', 'CDX_BOTS')
bot = Client('pdisk bot',
api_id=API_ID,
api_hash=API_HASH,
Expand All @@ -24,7 +24,7 @@
async def start(bot, message):
await message.reply(
f"**Hiya 👋{message.chat.first_name}!**\n\n"
"**A Simple PDisk Uploader Bot.\n\n➠ Send Me Any Direct Link, YouTube Link Or Video Link I Will Upload To PDisk And Give Direct Link\n\nMade With❤BY @MyTestBotZ**")
"**A Simple PDisk Uploader Bot.\n\n➠ Send Me Any Direct Link, YouTube Link Or Video Link I Will Upload To PDisk And Give Direct Link\n\nMade With❤BY @housefull_links & @cdx_bots**")


@bot.on_message(filters.text & filters.private)
Expand Down Expand Up @@ -144,9 +144,9 @@ async def remove_username(new_List):
async def addFooter(str):
footer = """
━━━━━━━━━━━━━━━
⦿ Made With♥️BY @OO7ROBot
⦿ Made With♥️BY @Housefull_links & @CDX_bots
━━━━━━━━━━━━━━━
✪ »JOIN CHANNEL ➡️ t.me/""" + CHANNEL
✪ »JOIN CHANNEL ➡️ t.me/cdx_bots + CHANNEL
return str + footer

bot.run()