Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
Β·
b2229d5
1
Parent(s):
0364f1a
Update info.py
Browse files- Powers/plugins/info.py +2 -2
Powers/plugins/info.py
CHANGED
@@ -158,7 +158,7 @@ async def chat_info(c: Gojo, chat, already=False):
|
|
158 |
can_save = chat.has_protected_content
|
159 |
sticker_set = chat.sticker_set_name
|
160 |
linked_chat = chat.linked_chat
|
161 |
-
reactions = chat.available_reactions
|
162 |
|
163 |
caption = f"""
|
164 |
π° <b>CHAT INFO</b> π°
|
@@ -179,7 +179,7 @@ async def chat_info(c: Gojo, chat, already=False):
|
|
179 |
<b>π¨πΏβπ» Description</b>: <code>{description}</code>
|
180 |
<b>πͺ Total members</b>: {members}
|
181 |
<b>π Link to the chat</b>: <a href={invite_link}>Click Hereπͺ</a>
|
182 |
-
<b>π«
|
183 |
<b>π Sticker set</b>: {sticker_set}
|
184 |
<b>π Linked Chat</b>: {linked_chat if linked_chat else "Not Linked"}
|
185 |
<b>π₯ Reactions</b>: {reactions}
|
|
|
158 |
can_save = chat.has_protected_content
|
159 |
sticker_set = chat.sticker_set_name
|
160 |
linked_chat = chat.linked_chat
|
161 |
+
reactions = chat.available_reactions.all_are_enabled
|
162 |
|
163 |
caption = f"""
|
164 |
π° <b>CHAT INFO</b> π°
|
|
|
179 |
<b>π¨πΏβπ» Description</b>: <code>{description}</code>
|
180 |
<b>πͺ Total members</b>: {members}
|
181 |
<b>π Link to the chat</b>: <a href={invite_link}>Click Hereπͺ</a>
|
182 |
+
<b>π« Has Protected Content</b>: {can_save}
|
183 |
<b>π Sticker set</b>: {sticker_set}
|
184 |
<b>π Linked Chat</b>: {linked_chat if linked_chat else "Not Linked"}
|
185 |
<b>π₯ Reactions</b>: {reactions}
|