Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deanxv committed Feb 22, 2024
1 parent 7708e40 commit a991e2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var StreamRequestOutTime = os.Getenv("STREAM_REQUEST_OUT_TIME")

var DebugEnabled = os.Getenv("DEBUG") == "true"

var Version = "v4.0.5" // this hard coding will be replaced automatically when building, no need to manually change
var Version = "v4.0.6" // this hard coding will be replaced automatically when building, no need to manually change

const (
RequestIdKey = "X-Request-Id"
Expand Down
2 changes: 1 addition & 1 deletion discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func SendMessage(c *gin.Context, channelID, cozeBotId, message string) (*discord

// 特殊处理

for i, sendContent := range common.ReverseSegment(content, 2000) {
for i, sendContent := range common.ReverseSegment(content, 1888) {
//sentMsg, err := Session.ChannelMessageSend(channelID, sendContent)
//sentMsgId := sentMsg.ID
// 4.0.0 版本下 用户端发送消息
Expand Down

0 comments on commit a991e2a

Please sign in to comment.