Integrate widgetbot discord into vitepress website #583
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Integrate WidgetBot Discord to embed live chat directly on the VitePress website, enhancing user engagement by allowing interaction without leaving the page.
📋 Setup Instructions
What is WidgetBot?
WidgetBot replaces your simple Discord link button with a fully embedded Discord chat widget. Users can now interact with your Discord community directly from the website without leaving the page!
⚡ Quick Setup (5 minutes)
Step 1: Enable Discord Developer Mode
Step 2: Get Your Discord IDs
serverId)channelId)Step 3: Add WidgetBot Bot to Your Server
Step 4: Update Configuration
Edit
.web/docs/.vitepress/widgetbot.config.ts:Step 5: Test It
cd .web pnpm install pnpm devLook for the Discord icon in the bottom-right corner! Click it to see your embedded Discord chat.
🎨 Features
For Your Visitors
For You
🎯 Recommended Channel Setup
#website-chator#support📚 Full Documentation
Complete setup guide with troubleshooting, customization options, and best practices is available in:
.web/WIDGETBOT_SETUP.md✅ Build Tested
The integration has been tested and builds successfully:
🔧 Customization Examples
Change widget position:
Change widget color:
📞 Support Resources
.web/WIDGETBOT_SETUP.mdfor detailed instructionsThe widget is now integrated and ready to use once you configure your Discord server and channel IDs! 🚀