Code Monkey home page Code Monkey logo

Comments (2)

KimigaiiWuyi avatar KimigaiiWuyi commented on September 22, 2024

同时更新core和nb2内插件,即可修复

from genshinuid.

Ghost-chu avatar Ghost-chu commented on September 22, 2024

测试似乎没有起效:

gsuid_core 版本:

Ghost_chu@GHOSTCHU-WINLAB MINGW64 ~/Desktop/BRBot/gsuid_core (master)
$ git log
commit ac081c5b4d181b8a645a44128dbbc1d84923cd88 (HEAD -> master, origin/master, origin/HEAD)
Author: KimigaiiWuyi <[email protected]>
Date:   Sun Nov 12 03:15:32 2023 +0800

    🐛 修正发送类型 (KimigaiiWuyi/GenshinUID#606)

nb2 插件版本

Ghost_chu@GHOSTCHU-WINLAB MINGW64 ~/Desktop/BRBot/br-yuanshen-bot/.venv/Lib/site-packages/GenshinUID (v4-nonebot2)
$ git log
commit e8f282226a3d205da6911550cea798ed181f4ac3 (HEAD -> v4-nonebot2, origin/v4-nonebot2)
Author: KimigaiiWuyi <[email protected]>
Date:   Sun Nov 12 03:16:56 2023 +0800

    🐛 修复`nonebot.adapter.dodo`的私聊问题 (#606)

日志:

11-12 03:25:58 [INFO] plugins.GenshinUID.GenshinUID.genshinuid_update | 检查遗留信息...
11-12 03:26:26 [INFO] gsuid_core.handler | [Raw] raw_text=更新好了, image=None, at=None, image_list=None, at_list=[], is_tome=True, reply=None, file_name=None, file_type=None, file=None | [Receive] bot_id=dodo, bot_self_id=66077028, msg_id=07eb2a6a-da6e-4365-ab2a-6ada6ee365d3, user_type=direct, group_id=None, user_id=3898474, user_pm=6, content=[Message(type='text', data='更新好了')],
11-12 03:26:26 [INFO] gsuid_core.handler | [Raw] raw_text=mys设备登录{"deviceModel":"PGP110","androidVersion":"13","deviceFingerprint":"****","deviceName":"OP5551L1","deviceBoard":"taro","deviceProduct":"PGP110","oaid":"****"}, image=None, at=None, image_list=None, at_list=[], is_tome=True, reply=None, file_name=None, file_type=None, file=None | [Receive] bot_id=dodo, bot_self_id=66077028, msg_id=b090674f-8795-41e8-9067-4f879521e8d9, user_type=direct, group_id=None, user_id=3898474, user_pm=6, content=[Message(type='text', data='mys设备登录{"deviceModel":"PGP110","androidVersion":"13","deviceFingerprint":"****","deviceName":"OP5551L1","deviceBoard":"taro","deviceProduct":"PGP110","oaid":"****"}')],
11-12 03:26:26 [INFO] gsuid_core.handler | [Trigger] 消息 「mys设备登录{"deviceModel":"PGP110","androidVersion":"13","deviceFingerprint":"****","deviceName":"OP5551L1","deviceBoard":"taro","deviceProduct":"PGP110","oaid":"****"}」 触发 「prefix」 类型触发器, 关键词: 「mys设备登录」
11-12 03:26:26 [INFO] gsuid_core.handler | [Command] command=mys设备登录, text={"deviceModel":"PGP110","androidVersion":"13","deviceFingerprint":"****","deviceName":"OP5551L1","deviceBoard":"taro","deviceProduct":"PGP110","oaid":"****"}
11-12 03:26:27 [INFO] gsuid_core.bot | [发送消息to] dodo - direct - 3898474

nb2插件日志:

11-12 03:26:26 [SUCCESS] nonebot | DoDo 66077028 | [PersonalMessageEvent]: {'event_id': '6ab47f4bcfff4e699a910ba93cad5efb', 'event_type': <EventType.PERSONAL_MESSAGE: '1001'>, 'timestamp': datetime.datetime(2023, 11, 11, 19, 26, 26, 105000, tzinfo=datetime.timezone.utc), 'dodo_source_id': '3898474', 'island_source_id': '242320', 'personal': {'nick_name': 'Ghost_chu', 'avatar_url': 'https://img.imdodo.com/dodo/ba61ce6ca6a4a7f90713738b79f387dd.jpg', 'sex': <Sex.PRIVACY: -1>}, 'message_id': '07eb2a6a-da6e-4365-ab2a-6ada6ee365d3', 'message_type': <MessageType.TEXT: 1>, 'message_body': {'content': '更新好了'}, 'to_me': True}
11-12 03:26:26 [INFO] nonebot | Event will be handled by Matcher(type='message', module=GenshinUID, lineno=26)
11-12 03:26:26 [INFO] GenshinUID | 【发送】[gsuid-core]: dodo
11-12 03:26:26 [INFO] nonebot | Matcher(type='message', module=GenshinUID, lineno=26) running complete
11-12 03:26:26 [SUCCESS] nonebot | DoDo 66077028 | [PersonalMessageEvent]: {'event_id': 'bf92c41617284c30bc26eecb0d044669', 'event_type': <EventType.PERSONAL_MESSAGE: '1001'>, 'timestamp': datetime.datetime(2023, 11, 11, 19, 26, 26, 901000, tzinfo=datetime.timezone.utc), 'dodo_source_id': '3898474', 'island_source_id': '242320', 'personal': {'nick_name': 'Ghost_chu', 'avatar_url': 'https://img.imdodo.com/dodo/ba61ce6ca6a4a7f90713738b79f387dd.jpg', 'sex': <Sex.PRIVACY: -1>}, 'message_id': 'b090674f-8795-41e8-9067-4f879521e8d9', 'message_type': <MessageType.TEXT: 1>, 'message_body': {'content': 'mys设备登录{"deviceModel":"PGP110","androidVersion":"13","deviceFingerprint":"****","deviceName":"OP5551L1","deviceBoard":"taro","deviceProduct":"PGP110","oaid":"****"}'}, 'to_me': True}
11-12 03:26:26 [INFO] nonebot | Event will be handled by Matcher(type='message', module=GenshinUID, lineno=26)
11-12 03:26:26 [INFO] GenshinUID | 【发送】[gsuid-core]: dodo
11-12 03:26:26 [INFO] nonebot | Matcher(type='message', module=GenshinUID, lineno=26) running complete
11-12 03:26:27 [INFO] GenshinUID | 【接收】[gsuid-core]: dodo - direct - 3898474

image

from genshinuid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.