mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 03:24:50 +00:00
fix lendrive sama same
This commit is contained in:
parent
e90d4a46cd
commit
4ed268c553
2 changed files with 13 additions and 9 deletions
|
|
@ -27,7 +27,7 @@ from psutil import net_io_counters, virtual_memory
|
|||
from pyrogram import Client
|
||||
from pyrogram import __version__ as pyrover
|
||||
from pyrogram import enums, filters
|
||||
from pyrogram.errors import FloodWait, MessageTooLong, PeerIdInvalid
|
||||
from pyrogram.errors import ChatSendPhotosForbidden, FloodWait, MessageTooLong, PeerIdInvalid
|
||||
from pyrogram.raw.types import UpdateBotStopped
|
||||
from pyrogram.types import (
|
||||
InlineKeyboardButton,
|
||||
|
|
@ -123,11 +123,15 @@ async def log_file(_, ctx: Message, strings):
|
|||
|
||||
|
||||
@app.on_message(filters.command(["donate"], COMMAND_HANDLER))
|
||||
async def donate(_, ctx: Message):
|
||||
await ctx.reply_photo(
|
||||
"https://img.yasirweb.eu.org/file/9427d61d6968b8ee4fb2f.jpg",
|
||||
caption=f"Hi {ctx.from_user.mention}, If you find this bot useful, you can make a donation to the account below. Because this bot server uses VPS and is not free. Thank You..\n\n<b>Indonesian Payment:</b>\n<b>QRIS:</b> https://img.yasirweb.eu.org/file/b1c86973ae4e55721983a.jpg (Yasir Store)\n<b>Mayar:</b> https://yasirarism.mayar.link/payme\n<b>Bank Jago:</b> 109641845083 (Yasir Aris M)\n\nFor international people can use PayPal to support me or via GitHub Sponsor:\nhttps://paypal.me/yasirarism\nhttps://github.com/sponsors/yasirarism\n\n<b>Source:</b> @BeriKopi",
|
||||
)
|
||||
async def donate(self: Client, ctx: Message):
|
||||
try:
|
||||
await ctx.reply_photo(
|
||||
"https://img.yasirweb.eu.org/file/9427d61d6968b8ee4fb2f.jpg",
|
||||
caption=f"Hi {ctx.from_user.mention}, If you find this bot useful, you can make a donation to the account below. Because this bot server uses VPS and is not free. Thank You..\n\n<b>Indonesian Payment:</b>\n<b>QRIS:</b> https://img.yasirweb.eu.org/file/b1c86973ae4e55721983a.jpg (Yasir Store)\n<b>Mayar:</b> https://yasirarism.mayar.link/payme\n<b>Bank Jago:</b> 109641845083 (Yasir Aris M)\n\nFor international people can use PayPal to support me or via GitHub Sponsor:\nhttps://paypal.me/yasirarism\nhttps://github.com/sponsors/yasirarism\n\n<b>Source:</b> @BeriKopi",
|
||||
)
|
||||
except ChatSendPhotosForbidden:
|
||||
await self.send_message(LOG_CHANNEL, f"❗️ <b>WARNING</b>\nI'm leaving from {ctx.chat.id} since i didn't have sufficient admin permissions.")
|
||||
await ctx.chat.leave()
|
||||
|
||||
|
||||
@app.on_message(
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ web = {
|
|||
"movieku": "https://107.152.37.223",
|
||||
"kusonime": "https://kusonime.com",
|
||||
"lendrive": "https://lendrive.web.id",
|
||||
"samehadaku": "https://samehadaku.bio",
|
||||
"oplovers": "https://oploverz.top",
|
||||
"samehadaku": "https://samehadaku.help",
|
||||
"oplovers": "https://oploverz.red",
|
||||
"nodrakor": "https://no-drakor.xyz",
|
||||
}
|
||||
|
||||
|
|
@ -381,7 +381,7 @@ async def getDataSavefilm21(msg, kueri, CurrentPage, user, strings):
|
|||
async def getDataLendrive(msg, kueri, CurrentPage, user, strings):
|
||||
if not SCRAP_DICT.get(msg.id):
|
||||
try:
|
||||
if query:
|
||||
if kueri:
|
||||
data = await fetch.get(
|
||||
f"{web['lendrive']}/?s={kueri}",
|
||||
follow_redirects=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue