Spaces:
Sleeping
Sleeping
File size: 717 Bytes
9aef05f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# (c) @AbirHasan2005 | Modifieded By : @DC4_WARRIOR
from pyrogram import Client as Clinton
from pyrogram import filters
from config import Config
from database.access import clinton
from plugins.buttons import *
@Clinton.on_message(filters.private & filters.command('total'))
async def sts(c, m):
if m.from_user.id != Config.OWNER_ID:
return
total_users = await clinton.total_users_count()
await m.reply_text(text=f"Total user(s) {total_users}", quote=True)
@Clinton.on_message(filters.private & filters.command("search"))
async def serc(bot, update):
await bot.send_message(chat_id=update.chat.id, text="🔍 TORRENT SEARCH",
parse_mode="html", reply_markup=Button.BUTTONS01)
|