actually send the message to the user

This commit is contained in:
TED A. ⭕ 2025-08-05 11:03:17 +00:00
parent b63e0e4a06
commit 9ffb646666
2 changed files with 3 additions and 2 deletions

View File

@ -270,7 +270,8 @@ async def check_chat():
await send_message("Not yet implemented")
elif "@automod reports" in x['text']:
await send_message(await get_reports())
reports = await get_reports()
await send_message(reports)
else:
await send_message("Invalid command given")

View File

@ -64,4 +64,4 @@ async def get_reports():
else:
logger.info(f"An error occurred getting the reports for reason {response.status_code}")
return False
logger.info(reports_string[0:700])
return reports_string[0:700]