User bans, emoji and other bug fixes, age limiter, etc #26

Merged
profitroll merged 31 commits from dev into master 2023-01-31 15:26:56 +02:00
Showing only changes of commit 05e3916478 - Show all commits

View File

@ -22,7 +22,7 @@ async def message_context(msg: Message) -> tuple:
return 0, 0
# 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):
if msg.via_bot is None:
@ -52,6 +52,9 @@ async def any_stage(app: Client, msg: Message):
return
if msg.chat.id == configGet("admin", "groups"):
return
if msg.text is not None:
if configGet("enabled", "features", "applications") is True: