Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
8827622
1
Parent(s):
1f914fe
Update info.py
Browse files- Powers/plugins/info.py +2 -2
Powers/plugins/info.py
CHANGED
|
@@ -149,7 +149,7 @@ async def chat_info(c: Gojo, chat, already=False):
|
|
| 149 |
return [caption, photo_id]
|
| 150 |
|
| 151 |
|
| 152 |
-
@Gojo.on_message(command("info"))
|
| 153 |
async def info_func(c: Gojo, message: Message):
|
| 154 |
if len(message.text.split()) == 1 and not message.reply_to_message:
|
| 155 |
await message.reply_text(text="I can't info fecth of nothing!")
|
|
@@ -190,7 +190,7 @@ async def info_func(c: Gojo, message: Message):
|
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
-
@Gojo.on_message(command("chinfo"))
|
| 194 |
async def chat_info_func(c: Gojo, message: Message):
|
| 195 |
splited = message.text.split()
|
| 196 |
try:
|
|
|
|
| 149 |
return [caption, photo_id]
|
| 150 |
|
| 151 |
|
| 152 |
+
@Gojo.on_message(command(["info","whois"]))
|
| 153 |
async def info_func(c: Gojo, message: Message):
|
| 154 |
if len(message.text.split()) == 1 and not message.reply_to_message:
|
| 155 |
await message.reply_text(text="I can't info fecth of nothing!")
|
|
|
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
+
@Gojo.on_message(command(["chinfo","chatinfo","chat_info"]))
|
| 194 |
async def chat_info_func(c: Gojo, message: Message):
|
| 195 |
splited = message.text.split()
|
| 196 |
try:
|