(msg: Api.Message)
| 449 | index++; |
| 450 | } |
| 451 | } else { |
| 452 | response += `└ <i>暂无追踪用户</i>\n`; |
| 453 | } |
| 454 | |
| 455 | // Keywords section |
| 456 | response += `\n🔑 <b>追踪的关键字</b> (${keywordCount})\n`; |
| 457 | if (keywordCount > 0) { |
| 458 | response += `┌──────────\n`; |
| 459 | let index = 0; |
| 460 | for (const keyword in keywords) { |
| 461 | const standardEmojis = keywords[keyword].filter((r: string | BigInteger) => typeof r === 'string'); |
| 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 ? '└' : '├'; |
no test coverage detected