Spaces:
Running
Running
iamgojoof6eyes
commited on
Commit
·
c7ef039
1
Parent(s):
21691cf
Looks good
Browse files- Powers/plugins/info.py +2 -3
Powers/plugins/info.py
CHANGED
@@ -2,7 +2,6 @@ import os
|
|
2 |
from traceback import format_exc
|
3 |
from datetime import datetime
|
4 |
|
5 |
-
from pyrogram import filters
|
6 |
from pyrogram.types import Message
|
7 |
|
8 |
from Powers import DEV_USERS, SUDO_USERS, WHITELIST_USERS, SUPPORT_STAFF, LOGGER
|
@@ -132,7 +131,7 @@ async def chat_info(chat, already=False):
|
|
132 |
return [caption, photo_id]
|
133 |
|
134 |
|
135 |
-
@Gojo.on_message(command("info")
|
136 |
async def info_func(_, message: Message):
|
137 |
if message.reply_to_message:
|
138 |
user = message.reply_to_message.from_user.id
|
@@ -162,7 +161,7 @@ async def info_func(_, message: Message):
|
|
162 |
|
163 |
|
164 |
|
165 |
-
@Gojo.on_message(command("chinfo")
|
166 |
async def chat_info_func(_, message: Message):
|
167 |
try:
|
168 |
if len(message.command) > 2:
|
|
|
2 |
from traceback import format_exc
|
3 |
from datetime import datetime
|
4 |
|
|
|
5 |
from pyrogram.types import Message
|
6 |
|
7 |
from Powers import DEV_USERS, SUDO_USERS, WHITELIST_USERS, SUPPORT_STAFF, LOGGER
|
|
|
131 |
return [caption, photo_id]
|
132 |
|
133 |
|
134 |
+
@Gojo.on_message(command("info"))
|
135 |
async def info_func(_, message: Message):
|
136 |
if message.reply_to_message:
|
137 |
user = message.reply_to_message.from_user.id
|
|
|
161 |
|
162 |
|
163 |
|
164 |
+
@Gojo.on_message(command("chinfo"))
|
165 |
async def chat_info_func(_, message: Message):
|
166 |
try:
|
167 |
if len(message.command) > 2:
|