mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 03:53:50 +08:00
Use string format in db
This commit is contained in:
parent
c27ebadbc4
commit
5c4f586c36
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user