librarian: odsyłaj wynik do bota, który wysłał zapytanie (obsługa wielu botów) #18

Merged
gitea merged 2 commits from librarian-per-origin-callback into main 2026-08-03 17:47:55 +00:00
Showing only changes of commit d4c6d78c2e - Show all commits
+1 -1
View File
@@ -147,7 +147,7 @@ class DataModule(commands.Cog):
desc = fresh_data.entries[doi]
title = desc["Title"][0] if desc.get("Title") else "(bez tytułu)"
entries.append(
f"{l_p}. {title} pod linkiem https://www.sci-hub.se/{doi} i jest to {desc['type']}\n"
f"{l_p}. {title} pod linkiem https://www.sci-hub.red/{doi} i jest to {desc['type']}\n"
)
ai_lines.append(f"{l_p}. {title} (DOI: {doi}, typ: {desc['type']})")
l_p += 1