Giter Club home page Giter Club logo

kook's People

Contributors

amovement avatar eaok avatar fossabot avatar gunslinger23 avatar kevinmatthe avatar liki4 avatar lonelyevil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kook's Issues

重新连接有问题!

只要调试暂停或者断网一下就会出现下面的问题

2021-09-06T19:18:16.167+08:00 ERR 85 ws.go:91 > code=40103 error status is not ok
2021-09-06T19:18:16.167+08:00 ERR 85 ws.go:339 > error="expecting status ok, received 40103" error reconnecting to gateway

[bug] 消息事件 Quote 字段缺失了一个属性

缺失了rong_id这个属性,表示回复的是哪一条消息。

完整事件json如下:

{
    "content": "test",
    "extra": {
        "type": 9,
        "code": "",
        "guild_id": "7143759137187327",
        "channel_name": "Private",
        "author": {
            "id": "734237978",
            "username": "Mahiro",
            "identify_num": "3053",
            "online": true,
            "os": "Websocket",
            "status": 1,
            "avatar": "https://img.kookapp.cn/avatars/2022-08/1oUNEObhDl06j06j.png/icon",
            "vip_avatar": "https://img.kookapp.cn/avatars/2022-08/1oUNEObhDl06j06j.png/icon",
            "banner": "",
            "nickname": "Mahiro",
            "roles": [
                4241377,
                290610
            ],
            "is_vip": false,
            "is_ai_reduce_noise": true,
            "is_personal_card_bg": false,
            "bot": false
        },
        "visible_only": null,
        "mention": [],
        "mention_all": false,
        "mention_roles": [],
        "mention_here": false,
        "nav_channels": [],
        "kmarkdown": {
            "raw_content": "test",
            "mention_part": [],
            "mention_role_part": [],
            "channel_part": []
        },
        "quote": {
            "id": "6322b602be165c86d309f55b",
            "rong_id": "acc984e5-8ca6-4d8b-97e4-7979f2e2ba92",
            "type": 9,
            "content": "test",
            "create_at": 1663219202236,
            "author": {
                "id": "1854484583",
                "username": "potatopotat0",
                "identify_num": "8964",
                "online": true,
                "os": "Websocket",
                "status": 1,
                "avatar": "https://img.kookapp.cn/avatars/2022-08/WaLXiAGzeF06j06j.png/icon",
                "vip_avatar": "https://img.kookapp.cn/avatars/2022-08/WaLXiAGzeF06j06j.png/icon",
                "banner": "https://img.kookapp.cn/assets/2022-08/gZtrW3QAWW0hg06y.png",
                "nickname": "Takina",
                "roles": [
                    290610,
                    4241377
                ],
                "is_vip": true,
                "is_ai_reduce_noise": true,
                "is_personal_card_bg": false,
                "bot": false,
                "mobile_verified": true,
                "joined_at": 1625403836000,
                "active_time": 1663219202302
            },
            "kmarkdown": {
                "mention_part": [],
                "mention_role_part": [],
                "channel_part": [],
                "item_part": []
            }
        },
        "last_msg_content": "Mahirouff1atest",
        "send_msg_device": 0
    }
}

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.