Skip to content
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

feat(Tools): add discord incoming webhook for sending messages #7852

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

yaoice
Copy link
Contributor

@yaoice yaoice commented Aug 31, 2024

Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

Fixes #7851

Discord is great for playing games and chilling with friends, or even building a worldwide community. Add new tool that can send messages to Discord by using incoming webhook.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Self check like following:

  1. Create discord channel incoming webhook, and copy the webhook url
image image
  1. Add discord tool in dify workflow
image image
  1. Run dify workflow to send messages to discord channel
image image image

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🔨 feat:tools Tools for agent, function call related stuff. labels Aug 31, 2024
@yaoice yaoice force-pushed the feat/add-discord-webhook branch 2 times, most recently from b6920c8 to 575ed56 Compare September 3, 2024 09:54
@yaoice
Copy link
Contributor Author

yaoice commented Sep 3, 2024

@crazywoola help to approve th workflow to execute.

@yaoice yaoice force-pushed the feat/add-discord-webhook branch from 575ed56 to acda0a1 Compare September 5, 2024 12:02
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 2, 2024
@crazywoola crazywoola merged commit 415d27c into langgenius:main Oct 2, 2024
6 checks passed
@yaoice yaoice deleted the feat/add-discord-webhook branch October 2, 2024 14:41
aloababa pushed a commit to iguanesolutions/dify that referenced this pull request Oct 2, 2024
lau-td pushed a commit to heydevs-io/dify that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 feat:tools Tools for agent, function call related stuff. lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support discord incoming webhook to send messages
2 participants