diff --git a/common/constants.go b/common/constants.go index b5d58d89..50b67fef 100644 --- a/common/constants.go +++ b/common/constants.go @@ -1,6 +1,6 @@ package common -var Version = "v4.6.4" // this hard coding will be replaced automatically when building, no need to manually change +var Version = "v4.6.5" // this hard coding will be replaced automatically when building, no need to manually change const ( RequestIdKey = "X-Request-Id" diff --git a/discord/discord.go b/discord/discord.go index 44c0a1c8..e92e8119 100644 --- a/discord/discord.go +++ b/discord/discord.go @@ -646,8 +646,9 @@ func stayActiveMessageTask() { var taskBotConfigs = BotConfigList taskBotConfigs = append(taskBotConfigs, &model.BotConfig{ - ChannelId: ChannelId, - CozeBotId: CozeBotId, + ChannelId: ChannelId, + CozeBotId: CozeBotId, + MessageMaxToken: MessageMaxToken, }) taskBotConfigs = model.FilterUniqueBotChannel(taskBotConfigs)