koishi-plugin-bilibili-notify 3.2.5-alpha.10 → 3.2.5-alpha.11
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 +0 -7
- package/lib/index.mjs +0 -7
- package/package.json +1 -1
- package/readme.md +1 -0
package/lib/index.js
CHANGED
|
@@ -834,13 +834,6 @@ var ComRegister = class {
|
|
|
834
834
|
this.logger.info(`本次推送对象:${uid},推送类型:${PushTypeMsg[type]}`);
|
|
835
835
|
const record = this.pushRecord[uid];
|
|
836
836
|
this.logger.info("本次推送目标:");
|
|
837
|
-
{
|
|
838
|
-
this.logger.info(record.atAllArr);
|
|
839
|
-
const success = await withRetry(async () => {
|
|
840
|
-
return await this.ctx.broadcast(record.atAllArr, /* @__PURE__ */ (0, __satorijs_element_jsx_runtime.jsx)("message", { children: /* @__PURE__ */ (0, __satorijs_element_jsx_runtime.jsx)("at", { type: "all" }) }));
|
|
841
|
-
}, 1);
|
|
842
|
-
this.logger.info(`成功推送全体成员消息群组/频道:${success}`);
|
|
843
|
-
}
|
|
844
837
|
if (type === PushType.StartBroadcasting && record.atAllArr?.length >= 1) {
|
|
845
838
|
this.logger.info(record.atAllArr);
|
|
846
839
|
const success = await withRetry(async () => {
|
package/lib/index.mjs
CHANGED
|
@@ -836,13 +836,6 @@ var ComRegister = class {
|
|
|
836
836
|
this.logger.info(`本次推送对象:${uid},推送类型:${PushTypeMsg[type]}`);
|
|
837
837
|
const record = this.pushRecord[uid];
|
|
838
838
|
this.logger.info("本次推送目标:");
|
|
839
|
-
{
|
|
840
|
-
this.logger.info(record.atAllArr);
|
|
841
|
-
const success = await withRetry(async () => {
|
|
842
|
-
return await this.ctx.broadcast(record.atAllArr, /* @__PURE__ */ jsx("message", { children: /* @__PURE__ */ jsx("at", { type: "all" }) }));
|
|
843
|
-
}, 1);
|
|
844
|
-
this.logger.info(`成功推送全体成员消息群组/频道:${success}`);
|
|
845
|
-
}
|
|
846
839
|
if (type === PushType.StartBroadcasting && record.atAllArr?.length >= 1) {
|
|
847
840
|
this.logger.info(record.atAllArr);
|
|
848
841
|
const success = await withRetry(async () => {
|
package/package.json
CHANGED