Open warnyul opened 1 year ago
I understand how crucial it is to have the full response from GPT displayed in Discord without any truncation. One possible solution to address this problem could be implementing a mechanism where GPT splits the long response into multiple messages using discord.js
library.
By breaking the response into multiple messages, each within the character limit allowed by Discord, we can ensure that the entire content remains readable. This approach would enable users to view the complete response seamlessly, avoiding any loss of information or confusion.
To implement this solution, you could consider the following steps:
By implementing this solution, users will be able to read the complete response from GPT without any truncation, enhancing the overall usability of the integration between GPT and Discord.
Please let me know if you need any further assistance or clarification.
Issue Description:
When using the
wumpus-gpt
bot on Discord, I have noticed that in certain cases, the response generated by GPT is too long and gets cut off, making it impossible to read the full response. This issue hampers effective communication and comprehension, as crucial information may be missing or incomplete.Steps to Reproduce:
Install and set up
wumpus-gpt
on a Discord server.Initiate a conversation or command that triggers GPT to generate a lengthy response. (
/ask
or/chat
)Observe the response in Discord, where it is expected to be fully displayed.
Current Behavior:
Currently, when the generated response from GPT exceeds a certain length, Discord cuts off the response, leading to incomplete or truncated messages. As a result, users are unable to read the complete response, leading to confusion and loss of information.
Expected Behavior:
The expected behavior is that Discord should display the complete response generated by GPT, regardless of its length. Users should be able to view the full response, ensuring effective communication and comprehension within the Discord environment.
Additional Information:
This issue seems to occur consistently when GPT generates responses longer than a certain character limit, but the exact limit is unclear.
The problem affects both text-based responses and code snippets generated by GPT.
It is important to note that this issue may not be limited to a specific version of Discord or GPT, as it may be an inherent limitation of the integration between the two platforms.
The issue negatively impacts the usability of GPT on Discord and should be addressed to improve the user experience and facilitate complete communication.
Screenshots/Attachments: