This is a Discord bot that provides chatGPT completions and image generation. It uses an open source library called GPT-3 to generate language based on prompts.
- Generates Images using the /image command
- Generates completions using /ask
- Navigate to the Discord Developer Portal and create an application.
- Go to the Bot tab in the left sidebar and click “Add Bot” to enable the bot for your server.
- You will need the following keys in your .env file
OpenAI api key which can be found here
ClientToken, GuildID, and ClientID can be found in your discord settings
- Download the source code from this Github repository and install the necessary dependencies. (yarn / npm i)
- Start the bot by running yarn start or npm start
Once deployed, ChatGPT will be ready to use in your discord server.
Please note that this Discord bot is currently only available on my private server and is not utilized much. However, you can easily download and run it locally or serve it wherever you wish and use it on your own discord server. Enjoy!