Skip to content

feat minimum character requirement for thread creation. #3380

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

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

lorenzo132
Copy link
Member

change:

  • Minimum character requirement for creating new threads
  • Customizable error messages when users don't meet the requirement

new config options:

  • thread_min_characters - Set minimum characters required (default: 0)
  • thread_min_characters_title - Customize error embed title
  • thread_min_characters_response - Customize error embed description
  • thread_min_characters_footer - Customize error embed footer

Added
- Config option `thread_min_characters` to require a minimum number of characters in the initial message to create a thread.
- Configurable error message options: `thread_min_characters_title`, `thread_min_characters_response`, and `thread_min_characters_footer`.
Changed:
- Only catch ValueError (instead of all exceptions) when parsing thread_min_characters config as an integer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant