This Discord bot is designed to integrate OpenAI's powerful GPT-3.5 model, providing users with interactive, AI-driven responses. It's built to handle chat completions, offer concise replies, and adapt to conversation contexts dynamically.
- AI Conversations: Engage in natural, flowing dialogues powered by OpenAI's GPT-3.5.
- Context Management: Maintains conversation history to provide relevant responses.
- Customizable Responses: Adjust reply length and style via settings.
- Node.js
- Discord.js library
- OpenAI API key
-
Clone the Repository
git clone https://github.com/wobkobi/chatgpt-x-discord.git cd chatgpt-x-discord
-
Install Dependencies
npm install
-
Configure Environment Create a
.env
file in the root directory and add your Discord Bot Token and OpenAI API Key:BOT_TOKEN=your_discord_bot_token OPENAI_API_KEY=your_openai_api_key
-
Run the Bot
npm run start
Invite the bot to your Discord server and interact with it using mentions. For example:
@BotName How's the weather today?
The bot will reply based on its AI capabilities and the parameters set for conversation length and complexity.
For support, please open an issue on the GitHub repository page.
This bot offers a simple yet powerful way to add AI-driven interactions to your Discord server. Customize it to fit your needs and enjoy the advanced capabilities of GPT-3.5 in your community.