From 515bdaf2ee27599e7fb2a4b3237720685d1637b9 Mon Sep 17 00:00:00 2001 From: abcrate <150547876+abcrate@users.noreply.github.com> Date: Sun, 19 Nov 2023 20:53:41 -0600 Subject: [PATCH] Update README.md --- readme.md => README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename readme.md => README.md (92%) diff --git a/readme.md b/README.md similarity index 92% rename from readme.md rename to README.md index 5cf1220..7afd591 100644 --- a/readme.md +++ b/README.md @@ -1,4 +1,5 @@ GarfBot is a discord bot that uses openai generative pre-trained AI models to produce text and images for your personal entertainment and companionship. + JonBot is his owner and MoneyBot is his eccentric friend who plays the classic F2P video game Planetside 2. To interact: (not case-sensitive) @@ -9,6 +10,12 @@ To interact: (not case-sensitive) `"garfpic"` responds with image. +`"hey jon"` + responds with text. + +`"hey money"` + responds with text. + To get started, clone this repo and create a `config.py` file in GarfBot's root directory. Open your favorite text editor or IDE and add your various API tokens as such: ```python @@ -21,6 +28,7 @@ GIF_TOKEN = "token" If you want to configure a more secure setup, go ahead. Next, I recommend building a docker image for each bot using the included DockerFile as a template. Run each container binding /usr/src/app to GarfBot's CWD. + A terraform file has been included to launch all three containers, or you can do it manually. Example: @@ -29,7 +37,7 @@ crate@raspberrypi:~/garfbot $ docker build -t garfbot . crate@raspberrypi:~/garfbot $ docker run -d --restart always -v $PWD:/usr/src/app --name garfbot garfbot ``` -Or if you prefer to install dependencies (from requirements.txt) on a host and run as a systemd service: +Or if you prefer to install dependencies (from requirements.txt) on you own host and run as a systemd service: ```console [Unit] Description=garfbot