Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
b5992ae
1
Parent(s):
a0b67aa
Update info.py
Browse files- Powers/plugins/info.py +2 -0
Powers/plugins/info.py
CHANGED
|
@@ -289,6 +289,8 @@ async def info_func(c: Gojo, message: Message):
|
|
| 289 |
async def chat_info_func(c: Gojo, message: Message):
|
| 290 |
splited = message.text.split()
|
| 291 |
if len(splited) == 1:
|
|
|
|
|
|
|
| 292 |
chat = message.chat.id
|
| 293 |
|
| 294 |
else:
|
|
|
|
| 289 |
async def chat_info_func(c: Gojo, message: Message):
|
| 290 |
splited = message.text.split()
|
| 291 |
if len(splited) == 1:
|
| 292 |
+
if message.reply_to_message and message.reply_to_message.sender_chat:
|
| 293 |
+
chat = m.reply_to_message.sender_chat.id
|
| 294 |
chat = message.chat.id
|
| 295 |
|
| 296 |
else:
|