Skip to content
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

Limit input char with 500 #2

Merged
merged 1 commit into from
May 21, 2024
Merged

Limit input char with 500 #2

merged 1 commit into from
May 21, 2024

Conversation

xuelink
Copy link
Member

@xuelink xuelink commented May 21, 2024

This pull request fixes the issue of allowing input messages with more than 500 characters. The code now checks the length of the user's message and displays an error if it exceeds the limit. This ensures that the bot can handle messages within the specified character limit. Fixes #1.

@xuelink xuelink merged commit d6e85b5 into main May 21, 2024
@xuelink xuelink deleted the xuelink/issue1 branch May 21, 2024 23:33
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.

Limit input char with 500
1 participant