Spaces:
Running
Running
Update akn/Akeno/joinchat.py
Browse files- akn/Akeno/joinchat.py +0 -4
akn/Akeno/joinchat.py
CHANGED
@@ -24,8 +24,6 @@ from akn.utils.prefixprem import command
|
|
24 |
& ~filters.forwarded
|
25 |
)
|
26 |
async def join_chat(client: Client, message: Message):
|
27 |
-
if global_no_spam_title(message):
|
28 |
-
return
|
29 |
tex = message.command[1] if len(message.command) > 1 else message.chat.id
|
30 |
g = await message.reply_text("`Processing...`")
|
31 |
try:
|
@@ -42,8 +40,6 @@ async def join_chat(client: Client, message: Message):
|
|
42 |
& ~filters.forwarded
|
43 |
)
|
44 |
async def leave_chat(client: Client, message: Message):
|
45 |
-
if global_no_spam_title(message):
|
46 |
-
return
|
47 |
xd = message.command[1] if len(message.command) > 1 else message.chat.id
|
48 |
xv = await message.reply_text("`Processing...`")
|
49 |
try:
|
|
|
24 |
& ~filters.forwarded
|
25 |
)
|
26 |
async def join_chat(client: Client, message: Message):
|
|
|
|
|
27 |
tex = message.command[1] if len(message.command) > 1 else message.chat.id
|
28 |
g = await message.reply_text("`Processing...`")
|
29 |
try:
|
|
|
40 |
& ~filters.forwarded
|
41 |
)
|
42 |
async def leave_chat(client: Client, message: Message):
|
|
|
|
|
43 |
xd = message.command[1] if len(message.command) > 1 else message.chat.id
|
44 |
xv = await message.reply_text("`Processing...`")
|
45 |
try:
|