Skip to content

Nageld/ChatGPT-Bot

Repository files navigation

ChatGPT-Bot

Do da stanky leg

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:

pnpm install

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

  • /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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages