wop commited on
Commit
a138f4d
·
verified ·
1 Parent(s): 97e83bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- result = ask(input_text)
 
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)