Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ranitmanik/ranitgpt

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.
https://github.com/ranitmanik/ranitgpt

bot chatbot chatbot-application chatgpt discord discord-bot gpt gpt-3 openai openai-api replit replit-bot

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

        

RanitGPT - Discord Chatbot with OpenAI Integration

## Table of Contents
- [Overview](#overview)
- [Features](#features)
- [Usage](#usage)
- [How to Run on Replit](#how-to-run-on-replit)
- [Configuration](#configuration)
- [Example](#example)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [Future Endeavors](#future-endeavors)

## 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
```python
# 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](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!**