gsd 2 weeks ago
parent
commit
87ada90ca0
  1. 6
      other_ext/kamaz_ai.py

6
other_ext/kamaz_ai.py

@ -264,7 +264,11 @@ class Extension:
value=f'{self.actions.get(ss["action"], [ss["action"], 100])[0]}',
inline=False)
embed.set_footer(text=",".join([report_id] + result.get("similar_reports", [])))
same_reports = []
same_reports.append(str(report_id))
for s in result.get("similar_reports", []):
same_reports.append(str(s))
embed.set_footer(text=",".join(same_reports))
response = await message.reply(embed=embed)
try:
await response.add_reaction('👍')

Loading…
Cancel
Save