VK Bot: Questions desk in pinned message - #299
Open
konard wants to merge 3 commits into
Open
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #106
This implementation adds a comprehensive questions desk system to the VK bot as requested in issue #106. Features: - Question submission with karma rewards using 'ask [question] [reward]' - Question resolution with karma distribution using 'resolve [ID]' - Automatic pinned message updates with top questions - Questions sorted by karma reward amount - Full documentation and help integration - Comprehensive test coverage The system allows users to: 1. Submit questions with optional karma rewards 2. Resolve questions and receive karma rewards 3. View the questions desk with 'questions' command 4. Automatically maintain a pinned message with top questions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
konard
marked this pull request as ready for review
September 13, 2025 04:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📋 Issue Reference
Fixes #106 - VK Bot: Questions desk in pinned message
✨ Features Implemented
Questions Desk System
This PR implements a comprehensive questions desk feature for the VK bot that allows users to:
Submit Questions with karma rewards
ask [question] [reward]Resolve Questions and receive karma rewards
resolve [ID]View Questions Desk
questions/вопросы/desk/доскаAutomatic Pinned Message Management
Implementation Details
Files Added/Modified
python/modules/questions_service.py- Core questions management servicepython/patterns.py- Added regex patterns for new commandspython/modules/commands.py- Added question commands and VK integrationpython/__main__.py- Added pinning methods and command registrationpython/modules/commands_builder.py- Updated help messagespython/README.md- Added documentation sectionpython/tests.py- Added comprehensive test coverage🧪 Testing
The implementation includes comprehensive tests covering:
All core functionality has been tested and verified to work correctly.
📖 Documentation
Updated documentation includes:
🚀 Usage Examples
The pinned message automatically updates to show the most valuable questions, creating an incentive system for both asking good questions and providing helpful answers.
🤖 Generated with Claude Code