Commit 5c4f586c authored by XYenon's avatar XYenon

Use string format in db

parent c27ebadb
......@@ -154,7 +154,7 @@ func (bot *CQBot) InsertGroupMessage(m *message.GroupMessage) int32 {
"group-name": m.GroupName,
"sender": m.Sender,
"time": m.Time,
"message": ToFormattedMessage(m.Elements, m.GroupCode, true),
"message": ToStringMessage(m.Elements, m.GroupCode, true),
}
id := ToGlobalId(m.GroupCode, m.Id)
if bot.db != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment