diff --git a/main.py b/main.py index fb1560f..972ae3c 100644 --- a/main.py +++ b/main.py @@ -111,6 +111,13 @@ async def cmd_warn(app, msg): # ============================================================================================================================== +# Message command ============================================================================================================== +@app.on_message(~ filters.scheduled & filters.command(["message"], prefixes=["/"])) +async def cmd_message(app, msg): + pass +# ============================================================================================================================== + + # Warnings command ============================================================================================================= @app.on_message(~ filters.scheduled & filters.command(["warnings"], prefixes=["/"])) async def cmd_warnings(app, msg): @@ -368,7 +375,7 @@ async def callback_query_accept(app, clb): configSet(["link"], link.invite_link, file=fullclb[2]) logWrite(f"User {fullclb[2]} got an invite link {link.invite_link}") - + else: await app.send_message(int(fullclb[2]), locale("approved_joined", "message"))