@ -486,7 +486,10 @@ class Extension:
for s in result . get ( " similar_reports " , [ ] ) :
for s in result . get ( " similar_reports " , [ ] ) :
same_reports . append ( str ( s ) )
same_reports . append ( str ( s ) )
embed : discord . Embed = discord . Embed ( description = " Решил что с этим репортом надо сделать (нажми на меня чтобы увидеть похожие репорты) " , url = f " { os . getenv ( ' BACKEND_URL ' ) } /#/reports?page=0&size=10&ids= { ' , ' . join ( same_reports ) } " )
embed : discord . Embed = discord . Embed (
title = " (нажми на меня чтобы увидеть похожие репорты) " ,
description = " Решил что с этим репортом надо сделать " ,
url = f " { os . getenv ( ' BACKEND_URL ' ) } /#/reports?page=0&size=10&ids= { ' , ' . join ( same_reports ) } " )
embed . set_author ( name = " Камаз AI " , icon_url = " https://media.istockphoto.com/id/532124854/ru/ % D0 % B2 % D0 % B5 % D0 % BA % D1 %82% D0 % BE % D1 %80% D0 % BD % D0 % B0 % D1 %8F / % D0 % B5 % D0 % B2 % D1 %80% D0 % B5 % D0 % B9 % D1 %81% D0 % BA % D0 % B8 % D0 % B9- % D1 %80% D0 % BE % D0 % B1 % D0 % BE % D1 % 82- % D0 % BF % D0 % B5 % D1 %80% D1 %81% D0 % BE % D0 % BD % D0 % B0 % D0 % B6 % D0 % B0.jpg?s=170667a&w=0&k=20&c=3n1zIaQ0zd36upFONeofKPVioEf5JfFnDs6gShydAvw= " )
embed . set_author ( name = " Камаз AI " , icon_url = " https://media.istockphoto.com/id/532124854/ru/ % D0 % B2 % D0 % B5 % D0 % BA % D1 %82% D0 % BE % D1 %80% D0 % BD % D0 % B0 % D1 %8F / % D0 % B5 % D0 % B2 % D1 %80% D0 % B5 % D0 % B9 % D1 %81% D0 % BA % D0 % B8 % D0 % B9- % D1 %80% D0 % BE % D0 % B1 % D0 % BE % D1 % 82- % D0 % BF % D0 % B5 % D1 %80% D1 %81% D0 % BE % D0 % BD % D0 % B0 % D0 % B6 % D0 % B0.jpg?s=170667a&w=0&k=20&c=3n1zIaQ0zd36upFONeofKPVioEf5JfFnDs6gShydAvw= " )
for ss in suggestions :
for ss in suggestions :
if ss [ " action " ] == " noreason " :
if ss [ " action " ] == " noreason " :