(c: Client, m: Message)
| 19 | |
| 20 | @StreamBot.on_message(filters.command("users") & filters.private ) |
| 21 | async def sts(c: Client, m: Message): |
| 22 | user_id=m.from_user.id |
| 23 | if user_id in Var.OWNER_ID: |
| 24 | total_users = await db.total_users_count() |
| 25 | await m.reply_text(text=f"Total Users in DB: {total_users}", quote=True) |
| 26 | |
| 27 | |
| 28 | @StreamBot.on_message(filters.command("broadcast") & filters.private & filters.user(list(Var.OWNER_ID))) |
nothing calls this directly
no test coverage detected