diff --git a/handyhelper/__init__.py b/handyhelper/__init__.py index b22e455..071562b 100644 --- a/handyhelper/__init__.py +++ b/handyhelper/__init__.py @@ -54,9 +54,10 @@ async def summarize( await interaction.followup.send(f"""Article Found: {resp['ref']} Parsing PDF...""") + pdf = await getPDF(resp['pdf']) await interaction.followup.edit_message(f"""Article Found: {resp['ref']} ``` - {getPDF(resp['pdf'])[:1000]} + {pdf[:1000]} ```""") def main():