await getPDF
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user