-
-
Notifications
You must be signed in to change notification settings - Fork 33
feat(wolfram): add Wolfram Alpha integration for math/science queries #855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's GuideThis pull request introduces a new /wolfram command that integrates Wolfram Alpha's Simple API for math and science queries, returning results as images. It adds a new cog, updates configuration and help files, and ensures proper environment variable handling. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Wolfram Alpha integration to support math and science queries by introducing a new /wolfram command.
- Added a new configuration property for Wolfram Alpha credentials.
- Implemented a new cog in tux/cogs/tools/wolfram.py for handling Wolfram Alpha queries and processing the returned image.
- Updated help documentation and cog loader to include the new "tools" category.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tux/utils/config.py | Added Wolfram Alpha configuration property. |
tux/help.py | Updated help options to include "tools". |
tux/cogs/tools/wolfram.py | Implemented new Wolfram Alpha integration command. |
tux/cog_loader.py | Included new "tools" category with load priority. |
.env.example | Documented sample configuration for Wolfram Alpha. |
Deploying tux with
|
Latest commit: |
30e83f8
|
Status: | ✅ Deploy successful! |
Preview URL: | https://51fb8b70.tux-afh.pages.dev |
Branch Preview URL: | https://wolfram-alpha.tux-afh.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @electron271 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 4 issues found
- 🟡 Security: 1 issue found
- 🟢 Testing: all looks good
- 🟡 Complexity: 1 issue found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
adds /wolfram command that returns a answer to provided question in image form

Summary by Sourcery
Integrate Wolfram Alpha as a new tool, enabling users to query math and science questions via a Discord command and receive visual answers.
New Features:
Enhancements:
Documentation: