koishi-plugin-noah 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +7 -1
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -4277,7 +4277,13 @@ function chart(ctx, config, logger5) {
|
|
|
4277
4277
|
px_per_second: 600,
|
|
4278
4278
|
column_height: 2800
|
|
4279
4279
|
};
|
|
4280
|
-
|
|
4280
|
+
const music = await musicService.getMusic(ctx, [music_id])[0];
|
|
4281
|
+
session.send(
|
|
4282
|
+
session.text(".drawing", {
|
|
4283
|
+
name: music.title_name,
|
|
4284
|
+
difstr
|
|
4285
|
+
})
|
|
4286
|
+
);
|
|
4281
4287
|
const res = await ctx.http.post(`${config.sdvx_data_url}/chart`, payload, {
|
|
4282
4288
|
headers: { "Content-Type": "application/json" }
|
|
4283
4289
|
});
|