Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

更改群名报错 #4

Open
JoinChang opened this issue Feb 11, 2021 · 0 comments
Open

更改群名报错 #4

JoinChang opened this issue Feb 11, 2021 · 0 comments

Comments

@JoinChang
Copy link
Member

[2021-02-11 11:06:11][Mirai] ERROR: Session: parse failed: {'type': 'GroupNameChangeEvent', 'origin': '音灵INVAXION百合 会', 'new': '音灵INVAXION百合会祝大', 'current': '音灵INVAXION百合会祝大', 'group': {'id': 956815461, 'name': '音灵INVAXION百合会祝大', 'permission': 'MEMBER'}, 'operator': {'id': 247708723, 'memberName': '成年了的阿狸', 'permission': 'ADMINISTRATOR', 'group': {'id': 956815461, 'name': '音灵INVAXION百合会祝大', 'permission': 'MEMBER'}}}
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\mirai\application.py", line 212, in ws_event
    .parse_obj(received_data)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pydantic\main.py", line 455, in parse_obj
    return cls(**obj)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pydantic\main.py", line 346, in __init__
    raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for GroupNameChangeEvent
isByBot
  field required (type=value_error.missing)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant