Welcome to the ChatGPT Discord Bot GitHub repo! This project provides a friendly AI that you can chat with on Discord using the ChatGPT language model by OpenAI. Engage in captivating conversations on a wide array of topics, ranging from casual chitchat to in-depth discussions. Experience the GPT-powered bot's human-like capabilities firsthand!
- Chat with an AI language model in your Discord server
- Supports a wide range of topics and conversation styles
- Easy to use and customizable
- Clone this repo using
git clone
- Head to https://www.discord.com/developers/applications
- Create a new bot app, copy the token
- Grab your OpenAI token from https://openai.com
- Copy
config.json.example
as a newconfig.json
and fill in the fields- Bot Token
- OpenAI Token
- Guild ID (Optional)
- Bot Owner ID
- Client ID (from https://www.discord.com/developers/applications within your bot application)
- Engine (generally gpt-3 or gpt-4)
- Base prompt (Telling ChatGPT how to answer a query, for example, as concisely as possible)
- Whether Cooldown system is enabled
- Cooldown milliseconds
- List any users who can bypass this cooldown
- Type
npm i
- Type
node register_slash
- Type
node bot
Here are some examples of conversations you can have with ChatGPT:
- "Hey ChatGPT, what's the weather like today?"
- "ChatGPT, do you think artificial intelligence will ever surpass human intelligence?"
- "Can you tell me a joke, ChatGPT?"
- "What is a binary tree?"
The ChatGPT Discord Bot is powered by OpenAI's GPT architecture. OpenAI is an AI research laboratory consisting of the for-profit corporation OpenAI LP and its parent company, the non-profit OpenAI Inc. The company's goal is to create artificial general intelligence in a way that is safe and beneficial for humanity.
This is an open source project, so contributions are always welcome!
This project is licensed under the MIT License - see the LICENSE.md file for details.