Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,8 @@ async def uptime(ctx):
|
|
61 |
@bot.command()
|
62 |
async def ai(ctx, *, input_text: str):
|
63 |
"""Ask our AI model a question."""
|
64 |
-
|
|
|
65 |
|
66 |
# Reply with the embed
|
67 |
await ctx.send(result)
|
|
|
61 |
@bot.command()
|
62 |
async def ai(ctx, *, input_text: str):
|
63 |
"""Ask our AI model a question."""
|
64 |
+
async with ctx.typing():
|
65 |
+
result = ask(input_text)
|
66 |
|
67 |
# Reply with the embed
|
68 |
await ctx.send(result)
|