1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-08 04:00:23 +08:00
This commit is contained in:
源文雨
2023-10-17 00:33:18 +09:00
parent a2d06a4aac
commit 67836c78e3

View File

@@ -66,9 +66,9 @@ func (m *Message) String() string {
sb.WriteString(", 用户: 未知")
}
if m.Content == "" {
sb.WriteString("无文本")
sb.WriteString(", 无文本")
} else {
sb.WriteString("文本: ")
sb.WriteString(", 文本: ")
if m.MentionEveryone {
sb.WriteString("[@全体]")
}
@@ -216,7 +216,7 @@ func (mp *MessagePost) String() string {
sb.WriteString(", 回应消息: ")
sb.WriteString(mp.ReplyMessageID)
}
if mp.ReplyMessageID != "" {
if mp.ReplyEventID != "" {
sb.WriteString(", 回应事件: ")
sb.WriteString(mp.ReplyEventID)
}