Compare commits
No commits in common. "484990564fa0f2399215559a016b0fa10aaf561d" and "c0f16c69f698fcfe37ff0614848fdb442eea2198" have entirely different histories.
484990564f
...
c0f16c69f6
@ -28,23 +28,11 @@
|
||||
},
|
||||
"commands": {
|
||||
"rules": "Check out the rules",
|
||||
"reapply": "Resubmit the application"
|
||||
"reapply": "Fill the application again"
|
||||
},
|
||||
"commands_admin": {
|
||||
"reboot": "Restart the bot",
|
||||
"message": "Send a message",
|
||||
"warnings": "Check user's warnings",
|
||||
"application": "Check user's application",
|
||||
"applications": "Retrieve all applications as a JSON"
|
||||
},
|
||||
"commands_group_admin": {
|
||||
"reboot": "Restart the bot",
|
||||
"message": "Send a message",
|
||||
"warnings": "Check user's warnings",
|
||||
"application": "Check user's application",
|
||||
"applications": "Retrieve all applications as a JSON"
|
||||
},
|
||||
"commands_group_destination": {
|
||||
"warn": "Warn a user"
|
||||
"applications": "Get all applications as JSON"
|
||||
}
|
||||
}
|
9
main.py
9
main.py
@ -111,13 +111,6 @@ 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):
|
||||
@ -375,7 +368,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"))
|
||||
|
||||
|
Reference in New Issue
Block a user