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

Object of type Embed is not JSON serializable #55

Open
paul-sama opened this issue Sep 13, 2024 · 3 comments
Open

Object of type Embed is not JSON serializable #55

paul-sama opened this issue Sep 13, 2024 · 3 comments

Comments

@paul-sama
Copy link

nonebot_plugin_chatrecorder 0.6.1
nonebot-adapter-discord 0.1.8

sqlalchemy.exc.StatementError: (builtins.TypeError) Object of type Embed is not JSON serializable
[SQL: INSERT INTO nonebot_plugin_chatrecorder_messagerecord (session_persist_id, time, type, message_id, message, plain_text) VALUES (?, ?, ?, ?, ?, ?)]
@MeetWq
Copy link
Member

MeetWq commented Sep 13, 2024

能看看报错时发的是什么消息吗

@paul-sama
Copy link
Author

image

@paul-sama
Copy link
Author

其他报错

sqlalchemy.exc.StatementError: (builtins.TypeError) Object of type AttachmentSend is not JSON serializable
[SQL: INSERT INTO nonebot_plugin_chatrecorder_messagerecord (session_persist_id, time, type, message_id, message, plain_text) VALUES (?, ?, ?, ?, ?, ?)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants