Fixed reply messages
This commit is contained in:
parent
414bfefb21
commit
05e3916478
@ -22,7 +22,7 @@ async def message_context(msg: Message) -> tuple:
|
|||||||
return 0, 0
|
return 0, 0
|
||||||
|
|
||||||
# Any other input ==============================================================================================================
|
# Any other input ==============================================================================================================
|
||||||
@app.on_message(~ filters.scheduled & filters.private)
|
@app.on_message(~ filters.scheduled & (filters.private | filters.chat(configGet("admin", "groups"))))
|
||||||
async def any_stage(app: Client, msg: Message):
|
async def any_stage(app: Client, msg: Message):
|
||||||
|
|
||||||
if msg.via_bot is None:
|
if msg.via_bot is None:
|
||||||
@ -52,6 +52,9 @@ async def any_stage(app: Client, msg: Message):
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if msg.chat.id == configGet("admin", "groups"):
|
||||||
|
return
|
||||||
|
|
||||||
if msg.text is not None:
|
if msg.text is not None:
|
||||||
|
|
||||||
if configGet("enabled", "features", "applications") is True:
|
if configGet("enabled", "features", "applications") is True:
|
||||||
|
Reference in New Issue
Block a user