Forgot some awaits
This commit is contained in:
@@ -34,9 +34,9 @@ async def summarize(
|
|||||||
):
|
):
|
||||||
await interaction.response.defer(ephemeral=False, with_message=True)
|
await interaction.response.defer(ephemeral=False, with_message=True)
|
||||||
|
|
||||||
resp = search(article)
|
resp = await search(article)
|
||||||
|
|
||||||
interaction.followup.send("""Search Response:
|
await interaction.followup.send("""Search Response:
|
||||||
```
|
```
|
||||||
{resp.text[:1000]}
|
{resp.text[:1000]}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user