Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
Β·
31eec1f
1
Parent(s):
e44597a
Can't be used by bots
Browse files- Powers/plugins/info.py +0 -2
Powers/plugins/info.py
CHANGED
@@ -125,7 +125,6 @@ async def user_info(c: Gojo, user, already=False):
|
|
125 |
async def chat_info(c: Gojo, chat, already=False):
|
126 |
if not already:
|
127 |
chat = await c.get_chat(chat)
|
128 |
-
online_mem = await c.get_chat_online_count(chat.id)
|
129 |
chat_id = chat.id
|
130 |
username = chat.username
|
131 |
total_bot, total_admin, total_bot_admin, total_banned = await count(c, chat.id)
|
@@ -160,7 +159,6 @@ async def chat_info(c: Gojo, chat, already=False):
|
|
160 |
<b>π€ Bots</b>: {total_bot}
|
161 |
<b>π« Banned</b>: {total_banned}
|
162 |
<b>βοΈ Admin π€ Bots</b>: {total_bot_admin}
|
163 |
-
<b>π¨βπ» Currently online</b>: {online_mem}
|
164 |
<b>π§ Scam</b>: {is_scam}
|
165 |
<b>π€¨ Fake</b>: {is_fake}
|
166 |
<b>π§ Restricted</b>: {is_restricted}
|
|
|
125 |
async def chat_info(c: Gojo, chat, already=False):
|
126 |
if not already:
|
127 |
chat = await c.get_chat(chat)
|
|
|
128 |
chat_id = chat.id
|
129 |
username = chat.username
|
130 |
total_bot, total_admin, total_bot_admin, total_banned = await count(c, chat.id)
|
|
|
159 |
<b>π€ Bots</b>: {total_bot}
|
160 |
<b>π« Banned</b>: {total_banned}
|
161 |
<b>βοΈ Admin π€ Bots</b>: {total_bot_admin}
|
|
|
162 |
<b>π§ Scam</b>: {is_scam}
|
163 |
<b>π€¨ Fake</b>: {is_fake}
|
164 |
<b>π§ Restricted</b>: {is_restricted}
|