Fixin wolfram
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 1s
Build and push / Build-and-Push-Docker (push) Successful in 1m48s
Build and push / sync-argocd-app (push) Successful in 2s
Build and push / post-failure-to-discord (push) Has been skipped
Build and push / post-success-to-discord (push) Successful in 3s

This commit is contained in:
Luke Robles 2025-05-02 14:25:43 -07:00
parent 20475cb0d8
commit 6c7ad01c84

View File

@ -142,7 +142,7 @@ class ActualUtils(commands.Cog):
client = wolframalpha.Client(os.getenv("wolfram_token"))
await ctx.defer()
try:
res = client.query(query)
res = await client.aquery(query)
return await ctx.send_followup(
"You asked: %s\n\n%s" % (query, next(res.results).text)
)