mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
Test
This commit is contained in:
@@ -2214,11 +2214,11 @@ async def krecimy_pornola(ctx):
|
|||||||
ctx.reply("Jak ładnie szefa poprosisz.")
|
ctx.reply("Jak ładnie szefa poprosisz.")
|
||||||
|
|
||||||
|
|
||||||
@app.route("/", methods=["POST"])
|
@app.route("/", methods=["GET"])
|
||||||
def answer_external_command():
|
def answer_external_command():
|
||||||
record = json.loads(request.data)
|
record = json.loads(request.data)
|
||||||
logger.info(record)
|
logger.info(record)
|
||||||
answer_data = None
|
answer_data = "TXT"
|
||||||
if "UUID" in record and "QUERY" in record and "AUTHOR" in record:
|
if "UUID" in record and "QUERY" in record and "AUTHOR" in record:
|
||||||
answer_data = "Query logged"
|
answer_data = "Query logged"
|
||||||
return_data = (
|
return_data = (
|
||||||
|
|||||||
Reference in New Issue
Block a user