This commit is contained in:
linyuchen 2024-07-13 16:25:00 +08:00
parent 2a1aa8c649
commit 1dd468e2ff
3 changed files with 17 additions and 16 deletions

View File

@ -1,10 +1,10 @@
{ {
"manifest_version": 4, "manifest_version": 4,
"type": "extension", "type": "extension",
"name": "LLOneBot v3.27.0", "name": "LLOneBot v3.27.1",
"slug": "LLOneBot", "slug": "LLOneBot",
"description": "使你的NTQQ支持OneBot11协议进行QQ机器人开发", "description": "使你的NTQQ支持OneBot11协议进行QQ机器人开发",
"version": "3.27.0", "version": "3.27.1",
"icon": "./icon.jpg", "icon": "./icon.jpg",
"authors": [ "authors": [
{ {

View File

@ -205,8 +205,8 @@ function onLoad() {
if (getConfigUtil().getConfig().enablePoke) { if (getConfigUtil().getConfig().enablePoke) {
if ( qqPkgInfo.buildVersion > '23873'){ if ( qqPkgInfo.buildVersion > '23873'){
log(`当前版本${qqPkgInfo.buildVersion}不支持发送戳一戳模块`) log(`当前版本${qqPkgInfo.buildVersion}不支持发送戳一戳模块`)
return
} }
else {
crychic.loadNode() crychic.loadNode()
crychic.registerPokeHandler((id, isGroup) => { crychic.registerPokeHandler((id, isGroup) => {
log(`收到戳一戳消息了!是否群聊:${isGroup}id:${id}`) log(`收到戳一戳消息了!是否群聊:${isGroup}id:${id}`)
@ -220,6 +220,7 @@ function onLoad() {
postOb11Event(pokeEvent) postOb11Event(pokeEvent)
}) })
} }
}
registerReceiveHook<{ registerReceiveHook<{
msgList: Array<RawMessage> msgList: Array<RawMessage>
}>([ReceiveCmdS.NEW_MSG, ReceiveCmdS.NEW_ACTIVE_MSG], async (payload) => { }>([ReceiveCmdS.NEW_MSG, ReceiveCmdS.NEW_ACTIVE_MSG], async (payload) => {

View File

@ -1 +1 @@
export const version = '3.27.0' export const version = '3.27.1'