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

🖖🏽 Add ChatGPT streaming feature and Discord bot direct messaging support #10

Merged
merged 7 commits into from
Apr 29, 2023

Conversation

rayspock
Copy link
Owner

@rayspock rayspock commented Apr 29, 2023

This MR adds the integration of ChatGPT's streaming endpoint and Discord's direct messaging capability.

The streaming feature allows ChatGPT to generate responses in real time as users type their messages. This is particularly useful for chat applications where the user wants to see the response as they type.

Direct messaging support has been improved to allow users to send private messages directly to the bot. The bot will reply with a private message back to the user. This is useful for users who want to interact with the bot without sending their messages to the whole server.

Changes made:

  • Added a new streaming endpoint to ChatGPT that receives messages from the chat user and generates replies in real time.
  • Enhanced the Discord bot's direct messaging feature to allow users to send private messages to the bot and receive private replies back.
  • Updated the documentation to reflect the new features and improved messaging capabilities of the bot.
  • Updated README.md and included Features section.
  • Refactored release binary naming to make it more user friendly.

Testing:

  • Tested the new streaming feature with a sample chat application that sends messages to the ChatGPT backend and verifies that responses are generated in real time.
  • Tested the direct messaging feature by sending private messages to the Discord bot and verifying that the bot responds with a private message back.
  • Tested the overall functionality of the bot, ensuring that the new features do not break existing functionality.

Please review and let me know if you have any comments or questions.

Thanks a lot!

@rayspock rayspock changed the title 🖖🏽 Adding ChatGPT streaming feature and Discord bot direct messaging support 🖖🏽 Add ChatGPT streaming feature and Discord bot direct messaging support Apr 29, 2023
@rayspock rayspock merged commit 0d84b9a into main Apr 29, 2023
@rayspock rayspock deleted the feat/add-dm-to-bot branch April 29, 2023 13:31
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.

None yet

1 participant