diff --git a/tools/get_history_message.go b/tools/get_history_message.go index a8f280a..1eb2617 100644 --- a/tools/get_history_message.go +++ b/tools/get_history_message.go @@ -97,6 +97,7 @@ func fetchHistoryMessages(db *sql.DB, message_seq int, group_id int) (int, error for _, message := range messages { messageMap := message.(map[string]interface{}) insertMessage(db, messageMap) + time.Sleep(time.Second * 1) } return 0, nil