Add 'you asked' to wolfram
This commit is contained in:
parent
6992ef624b
commit
3e3c634b80
@ -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")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user