text_4 = event.obj['text'].split(' ', maxsplit=1)
if text_4[0] == "Арт" or text_4[0] == "арт" and text_4[1] == arts.name:
id = random.randint(arts.id_1, arts.id_2)
vk.method("messages.send",
{
"chat_id": event.object.peer_id - 2000000000,
"attachment": "photo-" + f'{arts.art}' + f'{id}',
"random_id": random.randint(1, 2147483647)
})
name = "Нами"
if name == "Нами":
id_1 = 103
id_2 = 126
art = "193643776_457239"
if text_4[0] == "Арт" or text_4[0] == "арт" and text_4[1] == 'Нами'
if text_4[0] == "Арт" or text_4[0] == "арт" and text_4[1] == ' Нами, Нами2'