Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
2mf8 committed Apr 14, 2024
1 parent 72b3af2 commit e268d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func (bot *Bot) handleFrame(frame *onebot.Frame, data []byte) {

func (bot *Bot) sendFrameAndWait(frame *onebot.Frame) (*onebot.Frame, error) {
frame.BotId = bot.BotId
frame.Echo = fmt.Sprintf("%v", time.Now().UnixNano())
frame.Echo = util.GenerateIdStr()
frame.Ok = true
data, err := json.Marshal(frame)
if err != nil {
Expand Down

0 comments on commit e268d5f

Please sign in to comment.