From 79c1c285f198e753b45a7f29758bc5959fee083e Mon Sep 17 00:00:00 2001 From: lvqq Date: Sun, 14 May 2023 02:14:10 +0800 Subject: [PATCH] docs: typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41947f7..47d755e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # midjourney-fetch -[![npm version](https://img.shields.io/npm/v/midjouryney-fetch.svg)](https://www.npmjs.com/package/midjouryney-fetch) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/GPTGenius/midjouryney-fetch/ci.yml?branch=main) ![node-current (scoped)](https://img.shields.io/node/v/midjouryney-fetch) ![GitHub](https://img.shields.io/github/license/GPTGenius/midjouryney-fetch) +[![npm version](https://img.shields.io/npm/v/midjourney-fetch.svg)](https://www.npmjs.com/package/midjourney-fetch) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/GPTGenius/midjourney-fetch/ci.yml?branch=main) ![node-current (scoped)](https://img.shields.io/node/v/midjourney-fetch) ![GitHub](https://img.shields.io/github/license/GPTGenius/midjourney-fetch) Fetch api for midjournery on discord @@ -7,13 +7,13 @@ Fetch api for midjournery on discord ```typescript import { Midjourney } from 'midjourney-fetch' -const midjouryney = new Midjouryney({ +const midjourney = new Midjourney({ channelId: 'your channelId', serverId: 'your serverId', discordToken: 'your discordToken', }) -const images = await midjouryney.imagine('your prompt') +const images = await midjourney.imagine('your prompt') console.log(images[0].url) ```