if event.obj.text.split()[0] == "обнять":
uid = event.obj.text.split()[1]
vk.messages.send(chat_id=event.chat_id, message=f"@{event.from_id} обнял @{uid}", random_id=0)</blockquote>
import json
from flask import Flask
test_dict = {"foo": "var"}
json_ = json.dumps(test_dict, indent=4)
app = Flask(__name__)
@app.route('/')
def index():
return json_
app.run()
import requests
request = requests.get(IP)
dict_ = request.json()