Spaces:
Paused
Paused
Download plugins/admin.py from imseldrith/Adv_bot: direct link, hf CLI and curl.
- Browser
- Download file 717 Bytes
-
https://huggingface.co/spaces/imseldrith/Adv_bot/resolve/main/plugins/admin.py
- Command line
-
hf download hf://spaces/imseldrith/Adv_bot/plugins/admin.py
-
curl -L -o admin.py https://huggingface.co/spaces/imseldrith/Adv_bot/resolve/main/plugins/admin.py
717 Bytes
| # (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 * | |
| 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) | |
| async def serc(bot, update): | |
| await bot.send_message(chat_id=update.chat.id, text="🔍 TORRENT SEARCH", | |
| parse_mode="html", reply_markup=Button.BUTTONS01) | |