Add 'you asked' to wolfram

This commit is contained in:
Luke Robles 2023-03-29 13:50:33 -07:00
parent 6992ef624b
commit 3e3c634b80

View File

@ -101,7 +101,9 @@ class ActualUtils(commands.Cog):
await ctx.defer() await ctx.defer()
try: try:
res = client.query(query) res = client.query(query)
return await ctx.send_followup(next(res.results).text) return await ctx.send_followup(
"You asked: %s\n\n%s" % (query, next(res.results).text)
)
except Exception: except Exception:
return await ctx.send_followup("Sorry, I'm unable to answer that") return await ctx.send_followup("Sorry, I'm unable to answer that")