#ChatGPT Discord Bot
This project is a Discord bot built using the OpenAI's GPT-3 language model to provide users with an AI-powered chat experience. The bot can answer questions, generate text, and perform a variety of other tasks.
Features Answer questions and provide information on a wide range of topics. Generate text, such as stories, poems, and articles. Engage in conversation and respond to users in a natural, human-like manner. Getting Started These instructions will help you get the bot up and running on your own Discord server.
Prerequisites
A Discord account A Discord Bot (if not created create one from here - https://discord.com/developers/applications) A Discord server to add the bot to An OpenAI API key with access to the GPT-3 model
Installation
Clone this repository to your local machine using git clone https://github.com/ankiitzz/ChatGPT-Discord-Bot.git. Navigate to the cloned directory and install the required packages using npm install. Fill your details in the config.json file. Start the bot by running
node .
Usage
Once the bot is up and running, you can use it in any Discord text channel by using the command /chat
.
For example, to ask the bot a question, you can type /chat prompt: Can you tell a joke?
.
Contributing
If you're interested in contributing to the project, please fork the repository and make the necessary changes. Then, submit a pull request for review.
License This project is licensed under the MIT License - see the LICENSE file for details.