From 20c47aefc3b026b12377542dc296d6d2965fcb43 Mon Sep 17 00:00:00 2001 From: Eric Heyden <34678575+zcpua@users.noreply.github.com> Date: Sun, 25 Feb 2024 22:25:48 +0800 Subject: [PATCH] [fix] discord get command api --- src/midjourney.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/midjourney.ts b/src/midjourney.ts index 2af0584..aafc5f2 100644 --- a/src/midjourney.ts +++ b/src/midjourney.ts @@ -35,6 +35,7 @@ export class Midjourney extends MidjourneyMessage { if (!this.config.Ws) { return this; } + await this.MJApi.allCommand(); if (this.wsClient) return this; this.wsClient = new WsMessage(this.config, this.MJApi); await this.wsClient.onceReady();