diff --git a/handyhelper/__init__.py b/handyhelper/__init__.py index 14269ab..a580875 100644 --- a/handyhelper/__init__.py +++ b/handyhelper/__init__.py @@ -60,10 +60,10 @@ async def summarize( await interaction.followup.send(f"Unable to find article: {article}") return - await interaction.followup.send(f"""Article Found: {resp['ref']} + msg = 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']} + await msg.edit(f"""Article Found: {resp['ref']} ``` {pdf[:1000]} ```""")