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: 2 months 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.
- Host: GitHub
- URL: https://github.com/ranitmanik/ranitgpt
- Owner: RanitManik
- License: mit
- Created: 2023-12-23T10:05:15.000Z (over 2 years ago)
- Default Branch: DEV
- Last Pushed: 2024-02-19T14:21:47.000Z (over 2 years ago)
- Last Synced: 2025-03-19T19:46:58.264Z (over 1 year ago)
- Topics: bot, chatbot, chatbot-application, chatgpt, discord, discord-bot, gpt, gpt-3, openai, openai-api, replit, replit-bot
- Language: Python
- Homepage: https://replit.com/@ranit-manik/RanitGpt#chat3.txt
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
ranitmanik.dev@gmail.com
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!**