dokku-comp

This commit is contained in:
2023-09-11 23:04:53 +03:00
parent 4be2dc3a45
commit b9a98f1e56
25 changed files with 646 additions and 460 deletions

View File

@@ -5,8 +5,8 @@ import json
async def handle_command_graph(msg):
usr_ids, members = scan(match='usr-*', count=100)
_usr_ids, members = scan(match="usr-*", count=100)
data = generate_chart(members)
if data:
r = await send_document(msg['chat']['id'], data, 'chart.svg')
r = await send_document(msg["chat"]["id"], data, "chart.svg")
print(r)