Closed allentofight closed 1 year ago
const client = new Midjourney({ ServerId: <string>process.env.SERVER_ID, ChannelId: <string>process.env.CHANNEL_ID, SalaiToken: <string>process.env.SALAI_TOKEN, Debug: true, Ws:false, }); await client.Connect(); const settingMsg = await client.Settings(); console.log(settingMsg); if (!settingMsg) { return; } // //niji5 const niji5 = settingMsg.options.filter((x) => { return x.label === "Niji version 5"; })[0]; console.log(niji5); const httpstatus = await client.MJApi.CustomApi({ msgId: settingMsg.id, customId: niji5.custom, flags: settingMsg.flags, });
I use the previous code to switch to Niji version 5 just as the example's example, but the settingMsg is null
the settings in MJ pops up. but the settingMsg is null
Ws:true
Ws must be true
the code that reproduces this issue or a replay of the bug
Describe the bug
I use the previous code to switch to Niji version 5 just as the example's example, but the settingMsg is null
error log
the settings in MJ pops up. but the settingMsg is null