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.
Usage
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:
config.json
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.
Running the bot
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.
Commands
/promptSends a prompt to Chat-GPT/single-promptSends a prompt to Chat-GPT independant from the conversation/resetResets the current conversation with Chat-GPT/imageGenerates an image through DALL-E based on the given prompt/variationGenerates a variation through DALL-E based on the given image