修改错别字

This commit is contained in:
eatmoreapple 2022-09-03 12:25:55 +08:00
parent 3553d8ea85
commit 879be7aed8

View File

@ -54,7 +54,7 @@ type Message struct {
Context context.Context `json:"-"` Context context.Context `json:"-"`
item map[string]interface{} item map[string]interface{}
Raw []byte `json:"-"` Raw []byte `json:"-"`
RowContent string `json:"-"` // 消息原始内容 RawContent string `json:"-"` // 消息原始内容
} }
// Sender 获取消息的发送者 // Sender 获取消息的发送者
@ -396,7 +396,7 @@ func (m *Message) init(bot *Bot) {
m.Bot = bot m.Bot = bot
raw, _ := json.Marshal(m) raw, _ := json.Marshal(m)
m.Raw = raw m.Raw = raw
m.RowContent = m.Content m.RawContent = m.Content
// 如果是群消息 // 如果是群消息
if m.IsSendByGroup() { if m.IsSendByGroup() {
if !m.IsSystem() { if !m.IsSystem() {