Log when downloads start
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s

This commit is contained in:
Nexus 2024-04-26 18:31:58 +01:00
parent b1d6dbf8ca
commit 5f084bd6a2
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -259,6 +259,7 @@ class AutoResponder(commands.Cog):
async def copy_ncfe_docs(self, message: discord.Message, links: list[ParseResult]) -> None:
files = []
self.log.info("Preparing to download: %s", ", ".join(map(ParseResult.geturl, links)))
async with aiohttp.ClientSession() as session:
for link in links:
if link.path.endswith(".pdf"):