await getPDF

This commit is contained in:
2023-03-17 23:04:31 -04:00
parent 41b0a3e93b
commit fa4a3bcf88

View File

@@ -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():