Skip to content

Commit

Permalink
increased word count limit
Browse files Browse the repository at this point in the history
  • Loading branch information
noelzappy committed Feb 13, 2023
1 parent 2c938bc commit 1746e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/message.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const handler = async (message: Message, p: any) => {
if (isHandled) return;

const promptLength = countWords(prompt);
if (promptLength > 10) {
if (promptLength > 50) {
return message.reply(
"MAXIMUM OF 10 WORDS PER MESSAGE ONLY.\nFor longer messages please visit \nhttps://chat.openai.com/ \nOr contact Zappy for a custom solution."
);
Expand Down

0 comments on commit 1746e8f

Please sign in to comment.