Skip to content

Commit

Permalink
added awaiting ctx response in the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
not-lain committed Oct 28, 2023
1 parent 4d7039f commit 0688cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def falcon180b(ctx,*,question):
await ctx.respond(f"""
use this command in the channel #falcon-180b-demo\nuse `/setup` to create the channel if it doesn't exist""")
except Exception as e:
ctx.respond(e)
await ctx.respond(e)

@bot.event
async def on_message(message):
Expand Down

0 comments on commit 0688cc9

Please sign in to comment.