koishi-plugin-starfx-bot 0.13.6 → 0.13.7
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.js +1 -1
- package/package.json +1 -1
- package/readme.md +1 -0
package/lib/index.js
CHANGED
|
@@ -541,7 +541,7 @@ function apply(ctx, cfg) {
|
|
|
541
541
|
ctx.command("bdbd [param]").option("starNum", "-n <starNum: number>").option("color", "-c <color: string>").option("train", "-t <train: string>").option("band", "-b <band: string>").action(async ({ session, options }, param) => {
|
|
542
542
|
if (detectControl(controlJson, session.guildId, "bdbd")) {
|
|
543
543
|
const p = session.send("图片处理中请稍等...");
|
|
544
|
-
console.log(param
|
|
544
|
+
console.log(param?.slice(0, 1e3));
|
|
545
545
|
const drawConfig = await handleBanGDreamConfig(options);
|
|
546
546
|
const imgSrc = await getImageSrc(session, param);
|
|
547
547
|
if (!imgSrc?.length) return "输入无效";
|
package/package.json
CHANGED
package/readme.md
CHANGED