Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face(1) 直接调用报错:AttributeError: __fields_set__ #42

Open
Wybxc opened this issue Feb 17, 2022 · 0 comments
Open

Face(1) 直接调用报错:AttributeError: __fields_set__ #42

Wybxc opened this issue Feb 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Wybxc
Copy link
Collaborator

Wybxc commented Feb 17, 2022

>>> mirai.models.message.Face(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Anaconda3\lib\site-packages\mirai\models\message.py", line 761, in __init__
    self.face_id = args[0]
  File "pydantic\main.py", line 391, in pydantic.main.BaseModel.__setattr__
AttributeError: __fields_set__
@Wybxc Wybxc added the bug Something isn't working label Feb 17, 2022
Wybxc added a commit that referenced this issue Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant