koishijs / novelai-bot

Generate images by NovelAI | 基于 NovelAI 的画图机器人
https://bot.novelai.dev
MIT License
2.49k stars 204 forks source link

Feature: Support Koishi 4.17.0 #235

Closed MaikoTan closed 3 months ago

MaikoTan commented 9 months ago

Scope

Others

Describe the problem related to the feature request

Support Koishi 4.17.0

Describe the solution you'd like

Fix bugs in building

Describe alternatives you've considered

No response

Additional context

Currently, the 4.17.0 version of Koishi lacks the HTTP error code when we are trying to handle it:

https://github.com/koishijs/novelai-bot/blob/179b41bd1e32132700013ffee2f9f998859d3f56/src/index.ts#L16-L30

We will be waiting for koishi side until it is available. ping @shigma

MaikoTan commented 3 months ago

Looks like this has been done at https://github.com/koishijs/novelai-bot/pull/242 , close