Skip to content

[Bug] 入群验证的欢迎消息发送失败 #155

@A-Kevin1217

Description

@A-Kevin1217

提交前检查

  • 我已确认使用的是最新版本的 Yenai-Plugin
  • 我已搜索过现有 issues,确认没有重复问题

Yunzai 版本

TRSS-Yunzai

Node.js 版本

No response

使用的协议端

OneBotv11

操作系统

Linux

问题描述

[Yenai-Plugin][进群验证]未获取到发送消息函数

复现步骤

。。?入群验证的欢迎消息

期望行为

No response

实际行为

欢迎消息发不出来

错误日志

[23:19:31.556][INFO][430860145 => 893536442] 发送群消息:[{"data":{"254974507":"✅ 验证成功,欢迎入群,群里有非常多的大佬给你透哦~~"}}]                                             
[23:19:31.559][ERRO][unhandledRe.] Error: [Yenai-Plugin][进群验证]未获取到发送消息函数
    at sendMsg (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/yenai-plugin/apps/groupAdmin/groupVerify.js:293:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Proxy.<anonymous> (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/yenai-plugin/apps/groupAdmin/groupVerify.js:175:12) {
  [stack]: [Getter/Setter: 'Error: \x1B[38;5;183m[Yenai-Plugin]\x1B[39m[进群验证]未获取到发送消息函数\n' +
    '    at sendMsg (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/yenai-plugin/apps/groupAdmin/groupVerify.js:293:9)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
    '    at async Proxy.<anonymous> (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/yenai-plugin/apps/groupAdmin/groupVerify.js:175:12)'],
  [message]: '\x1B[38;5;183m[Yenai-Plugin]\x1B[39m[进群验证]未获取到发送消息函数'
}

问题频率

必现(100%)

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions