Pagination & Interactive UI
Navigate through long responses with intuitive button controls and source viewing.
Overview
Both /ask and /lookup commands now feature interactive pagination controls, replacing the old emoji reaction system with modern button-based navigation.
Key Features
- •Arrow Navigation: Use ◀️ and ▶️ buttons to navigate between pages
- •Source Toggle: Switch between answer and detailed source information
- •Feedback Buttons: Give thumbs up 👍 or down 👎 to help improve results
- •Smart Splitting: Long responses automatically split at paragraph boundaries
- •User-Specific: Only you can interact with your query results
/ask Command Pagination
When you use /ask, long AI-generated responses are automatically paginated.
Button Layout
Page 1/3 • 10 sources used
- ◀️ Previous: Go to previous page (disabled on first page)
- ▶️ Next: Go to next page (disabled on last page)
- 📊 Show Sources: Toggle between answer and source details
- 👍 Thumbs Up: Mark answer as helpful
- 👎 Thumbs Down: Mark answer as not helpful
💡 Tip: Responses are split at ~1800 characters per page, breaking at paragraph boundaries for better readability.
/lookup Command Pagination
The /lookup command shows exact messages with pagination controls.
Results View
Shows 10 messages per page with:
- •Author name
- •Timestamp (auto-converted to your timezone)
- •Channel name
- •Message content (truncated if long)
Sources View
Click "📊 Show Sources" to see detailed metadata:
- •Author ID
- •Message ID
- •Channel ID
- •Relevance score (percentage)
Behavior & Limits
Page Limits
- /ask: ~1800 characters per page
- /lookup: 10 messages per page
- Sources: 10 sources per page
Timeout
Buttons remain active for 5 minutes (300 seconds). After timeout, buttons are disabled but the message remains visible.
Feedback
You can only give feedback (👍/👎) once per query. After voting, feedback buttons are disabled and your choice is highlighted.
Privacy
Only the user who ran the command can interact with the pagination buttons. Others will see a message if they try to click.
Migration from Reactions
The old emoji reaction system has been completely replaced with buttons:
❌ Old System
- 👍 reaction for feedback
- 👎 reaction for feedback
- 📊 reaction for sources
- Separate messages for sources
✅ New System
- 👍 button for feedback
- 👎 button for feedback
- 📊 button toggles sources in same message
- ◀️ ▶️ buttons for navigation
💡 Why the change? Buttons provide a cleaner, more intuitive interface and allow for better control over who can interact with results.