A Discord bot that connects to Chat-GPT to provide conversations with the model via Discord. It also allows for image generation through DALL-E.
To run an instance of this bot, you'll need to first clone the repository:
git clone https://github.com/Nageld/ChatGPT-Bot
Then install dependencies through pnpm:
pnpm install
Now that the bot is setup, you need to configure it. Create a new file called config.json
at the root of the repo and check out config.schema.json for how to propogate it.
To run the bot run:
pnpm deploy-cmd
pnpm start
pnpm deploy-cmd
is only required the first run and will only need to run again if you pull an update.
/prompt
Sends a prompt to Chat-GPT/single-prompt
Sends a prompt to Chat-GPT independant from the conversation/reset
Resets the current conversation with Chat-GPT/image
Generates an image through DALL-E based on the given prompt/variation
Generates a variation through DALL-E based on the given image