Skip to content

This is an amazing Discord Bot powered by ChatGPT that has been designed to enhance your chatting experience. With its advanced capabilities, this bot is capable of engaging in meaningful conversations and providing you with a truly interactive and enjoyable chat environment.

License

RanitManik/RanitGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RanitGPT - Discord Chatbot with OpenAI Integration

Table of Contents

Overview

RanitGPT is a Discord chatbot project developed on Replit, integrating OpenAI's powerful GPT-3.5-turbo model. This chatbot provides an interactive and dynamic conversation experience within Discord servers.

Features

  • Chat Loading: Users can choose from different chat scenarios (1, 2, or 3) to set the initial context for the bot's responses.
  • Discord Integration: RanitGPT seamlessly operates within the Discord platform, actively responding to user messages.
  • OpenAI Integration: The chatbot leverages OpenAI's GPT-3.5-turbo model to generate context-aware and natural responses.

Usage

  1. Select Chat Scenario: Users input 1, 2, or 3 to load the desired chat context.
  2. Discord Interaction: The bot listens for messages in Discord channels, engaging in conversations with users.
  3. Dynamic Responses: Utilizing the OpenAI model, RanitGPT generates responses based on the provided chat history.

How to Run on Replit

  1. Clone the Replit project.
  2. Install necessary dependencies: pip install discord openai.
  3. Set environment variables for Discord token (SECRET_KEY) and OpenAI API key (OPENAI_API_KEY).
  4. Run the Replit project.

Configuration

  • file: Determines the loaded chat scenario (1, 2, or 3).
  • openai.api_key: API key for OpenAI authentication.
  • openai.model: GPT-3.5-turbo is used for response generation.

Example

# Load chat scenario 2
file = "2"

# ... (rest of the script)

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to enhance the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Social Media Username Link
Email [email protected] Email
LinkedIn Ranit Manik LinkedIn
Instagram ranit_manik_ Instagram
Facebook RanitKumarManik Facebook
Twitter RANIT_MANIK Twitter

Future Endeavors

RanitGPT is an ongoing Replit project, with plans for future updates and improvements. Ranit Manik looks forward to expanding the capabilities of this Discord chatbot through continued development.

Enjoy chatting with RanitGPT on Discord!

About

This is an amazing Discord Bot powered by ChatGPT that has been designed to enhance your chatting experience. With its advanced capabilities, this bot is capable of engaging in meaningful conversations and providing you with a truly interactive and enjoyable chat environment.

Topics

Resources

License

Stars

Watchers

Forks

Languages