koishi-plugin-ll-brick 1.0.10 → 1.0.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.d.ts CHANGED
@@ -31,6 +31,8 @@ export interface Config {
31
31
  slapImage: string;
32
32
  /** 「烧砖」消息顶部图片 URL */
33
33
  fireImage: string;
34
+ /** 「烧制完毕」消息顶部图片 URL */
35
+ fireDoneImage: string;
34
36
  /** 「签到」消息顶部图片 URL */
35
37
  signImage: string;
36
38
  checking: boolean;
package/lib/index.js CHANGED
@@ -42,7 +42,10 @@ exports.Config = koishi_1.Schema.intersect([
42
42
  .description('「拍人」消息顶部图片 URL(需公网可访问;留空则不显示图片)'),
43
43
  fireImage: koishi_1.Schema.string()
44
44
  .default('https://img3.tofaka.com/autoupload/ontjZmlK09ZHnuFOv9znC7KXl_QqVl-bpSwqP4fJO68/20260624/xsnm/447X447/images_%282%29.jpg')
45
- .description('「烧砖」消息顶部图片 URL(需公网可访问;留空则不显示图片)'),
45
+ .description('「烧砖开始」消息顶部图片 URL(需公网可访问;留空则不显示图片)'),
46
+ fireDoneImage: koishi_1.Schema.string()
47
+ .default('https://img3.tofaka.com/autoupload/ontjZmlK09ZHnuFOv9znC7KXl_QqVl-bpSwqP4fJO68/20260624/xsnm/447X447/images_%282%29.jpg')
48
+ .description('「烧制完毕」消息顶部图片 URL(需公网可访问;留空则不显示图片)'),
46
49
  signImage: koishi_1.Schema.string()
47
50
  .default('https://img3.tofaka.com/autoupload/ontjZmlK09ZHnuFOv9znC7KXl_QqVl-bpSwqP4fJO68/20260624/yNf2/447X447/images_%281%29.jpg')
48
51
  .description('「签到」消息顶部图片 URL(需公网可访问;留空则不显示图片)'),
@@ -196,7 +199,7 @@ async function apply(ctx, config) {
196
199
  '📢 快去用 `砖头 拍人` 狠狠地拍一下吧!',
197
200
  ]);
198
201
  if (session.platform === 'qq') {
199
- await sendQQMarkdown(session, fireDone, config.fireImage, 447);
202
+ await sendQQMarkdown(session, fireDone, config.fireDoneImage, 447);
200
203
  }
201
204
  else {
202
205
  await session.send(fireDone);
@@ -248,7 +251,7 @@ async function apply(ctx, config) {
248
251
  if (koishi_1.Random.bool(probability)) {
249
252
  const muteErr = await tryMute(session.userId);
250
253
  const msg = mdCard([
251
- `${atUser(session, targetUserId)} 夺过你的砖头,把你拍晕了 **${muteTime}** 秒 🏏`,
254
+ `${atUser(session, targetUserId)} 夺过你的砖头,把你拍晕了 **${muteTime}** 秒`,
252
255
  muteErr ? '(因为我不是群管理员,所以并没什么卵用)' : '',
253
256
  ]);
254
257
  if (isQQ) {
@@ -260,7 +263,7 @@ async function apply(ctx, config) {
260
263
  else {
261
264
  const muteErr = await tryMute(targetUserId);
262
265
  const msg = mdCard([
263
- `${atUser(session, targetUserId)} 你被 ${atUser(session, session.userId)} 一砖头拍晕了 **${muteTime}** 秒 🏏`,
266
+ `${atUser(session, targetUserId)} 你被 ${atUser(session, session.userId)} 一砖头拍晕了 **${muteTime}** 秒`,
264
267
  muteErr ? '(因为我不是群管理员,所以并没什么卵用)' : '',
265
268
  ]);
266
269
  if (isQQ) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ll-brick",
3
3
  "description": "砖头拍人插件(克隆自 koishi-plugin-brick),非管理员时会提示",
4
- "version": "1.0.10",
4
+ "version": "1.0.11",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [