Skip to content

Docs: Added a guide on integrating Discord. - #15156

Merged
yingfeng merged 2 commits into
infiniflow:mainfrom
writinwaters:discord_add
May 22, 2026
Merged

yingfeng merged 2 commits into
infiniflow:mainfrom
writinwaters:discord_add

Conversation

@writinwaters

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

How to ingest messages from your Discord server.

Type of change

  • Documentation Update

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 22, 2026
@writinwaters
writinwaters requested a review from yingfeng May 22, 2026 09:36
@coderabbitai

coderabbitai Bot commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a new documentation guide for integrating Discord as a data source in RAGFlow. The guide provides step-by-step instructions for creating a Discord bot, configuring OAuth2 permissions, setting up the connection in RAGFlow, and linking the source to a dataset.

Changes

Discord Data Source Documentation

Layer / File(s) Summary
Discord integration guide
docs/guides/dataset/add_data_source/add_discord.md
Complete guide covering Discord bot creation with message content intent enabled, OAuth2 scope and permission configuration, RAGFlow connection setup with bot token, and dataset linking instructions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • infiniflow/ragflow#14846: Similar documentation-only guide for configuring Bitbucket as a data source connector in RAGFlow, using the same guide structure under docs/guides/dataset/add_data_source/.

Suggested labels

📖 documentation

Suggested reviewers

  • yingfeng

Poem

A Discord of knowledge flows through,
🤖 Bots and tokens, shiny and new,
From server to RAG, a guide so true,
Data source joy, rabbit-approved through and through! 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding documentation for Discord integration to RAGFlow.
Description check ✅ Passed The description follows the required template with both sections completed: problem statement and type of change (Documentation Update) are provided.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/guides/dataset/add_data_source/add_discord.md`:
- Around line 4-6: The frontmatter sets sidebar_custom_props: { categoryIcon:
SiGoogledrive } which is incorrect for a Discord guide; update the metadata to
use an appropriate Discord icon symbol (replace SiGoogledrive with a Discord
icon constant such as SiDiscord or another project-standard Discord icon) by
editing the sidebar_custom_props.categoryIcon value so the page displays the
correct icon.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7ad1a5a0-b297-44ea-9967-80a28585f23c

📥 Commits

Reviewing files that changed from the base of the PR and between 7e68441 and 5285e94.

📒 Files selected for processing (1)
  • docs/guides/dataset/add_data_source/add_discord.md

@yingfeng
yingfeng merged commit bf9297a into infiniflow:main May 22, 2026
@Haruko386 Haruko386 mentioned this pull request Jun 17, 2026
60 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants