Skip to content

Commit

Permalink
[fix] discord get command api
Browse files Browse the repository at this point in the history
  • Loading branch information
zcpua committed Feb 25, 2024
1 parent 9badf9a commit 20c47ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/midjourney.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 20c47ae

Please sign in to comment.