From 440d645afc84d0504419932d45e0976d8e205d66 Mon Sep 17 00:00:00 2001 From: kale <42823429+oelin@users.noreply.github.com> Date: Fri, 10 Mar 2023 08:01:16 +0000 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 0d93e6b..634e85f 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,27 @@ A Discord bot for all your Midjourney needs! Use this bot to convert text prompt +## Usage + +To run this demo, clone the repository and then create a `config.json` file containing your bot's token. Then run with `npm`. + +```sh +git clone https://github.com/oelin/midjourney-reborn/ + +cd midjourney-reborn +``` + +```sh +echo {"token": "YOUR TOKEN"} > ./config.json +``` + +```sh +npm i + +npm start +``` + + ## Commands This project is in active development so expect lots of changes to this section. Currenlty the primary command supported is `/imagine [prompt]`, which can be used to generate images with Midjourney. For instance, `/imagine an astronaut riding a horse on mars artstation` might produce the following image: