mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 04:14:51 +00:00
Typo
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
c934ca1e40
commit
8d4e30bf9c
1 changed files with 3 additions and 3 deletions
|
|
@ -25,10 +25,10 @@ async def broadcast(_, ctx: Message):
|
||||||
failed = 0
|
failed = 0
|
||||||
|
|
||||||
success = 0
|
success = 0
|
||||||
async for chat in userdb.find({}):
|
async for chat in userdb.find({"type": "user"}):
|
||||||
if chat["type"] == "user":
|
if chat["type"] != "user":
|
||||||
continue
|
continue
|
||||||
pti, sh = await broadcast_messages(int(chat["id"]), b_msg)
|
pti, sh = await broadcast_messages(int(chat["_id"]), b_msg)
|
||||||
if pti:
|
if pti:
|
||||||
success += 1
|
success += 1
|
||||||
elif pti is False:
|
elif pti is False:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue