(msg: Api.Message)
| 462 | const customEmojis = keywords[keyword].filter((r: string | BigInteger) => typeof r !== 'string'); |
| 463 | const reactions = standardEmojis.join('') + |
| 464 | (customEmojis.length > 0 ? ` +${customEmojis.length}会员表情` : ''); |
| 465 | const prefix = index === keywordCount - 1 ? '└' : '├'; |
| 466 | response += `${prefix} <code>${htmlEscape(keyword)}</code>\n`; |
| 467 | response += `${prefix === '└' ? ' ' : '│'} └ ${reactions}\n`; |
| 468 | index++; |
| 469 | } |
| 470 | } else { |
| 471 | response += `└ <i>暂无追踪关键字</i>\n`; |
| 472 | } |
| 473 | |
| 474 | // Settings section |
| 475 | response += `\n⚙️ <b>当前配置</b>\n`; |
| 476 | response += `├ 📝 保留日志: ${this.db.data.config.keepLog ? '✅ 启用' : '❌ 禁用'}\n`; |
| 477 | response += `└ 🎭 大号动画: ${this.db.data.config.big ? '✅ 启用' : '❌ 禁用'}\n`; |
| 478 |
no test coverage detected