Spaces:
Running
Running
Captain Ezio
commited on
Commit
·
b36a440
1
Parent(s):
ae8b83d
Update chat_type.py
Browse files
Powers/utils/chat_type.py
CHANGED
@@ -20,7 +20,7 @@ async def chattype(m: Message):
|
|
20 |
if m.chat.type == ChatType.SUPERGROUP:
|
21 |
ct = "supergroup"
|
22 |
|
23 |
-
if m.chat.type
|
24 |
ct ="bot"
|
25 |
|
26 |
|
@@ -46,4 +46,4 @@ async def c_type(chat_id):
|
|
46 |
if c.type == ChatType.PRIVATE:
|
47 |
ct = "private"
|
48 |
|
49 |
-
return ct
|
|
|
20 |
if m.chat.type == ChatType.SUPERGROUP:
|
21 |
ct = "supergroup"
|
22 |
|
23 |
+
if m.chat.type == ChatType.BOT:
|
24 |
ct ="bot"
|
25 |
|
26 |
|
|
|
46 |
if c.type == ChatType.PRIVATE:
|
47 |
ct = "private"
|
48 |
|
49 |
+
return ct
|