diff --git a/internal/cmd_publish.go b/internal/cmd_publish.go index f1e20f6..a908b8d 100644 --- a/internal/cmd_publish.go +++ b/internal/cmd_publish.go @@ -7,7 +7,6 @@ import ( "log" "os" "path/filepath" - "time" "exporter/config" "exporter/database/telegram_resource/public/model" @@ -29,7 +28,6 @@ func PublishCmd() *cobra.Command { log.Println("ERROR: ", err) return err } - time.Sleep(time.Second) } return nil }, @@ -76,7 +74,6 @@ func publishCmd(ctx context.Context) error { return err } - log.Println("published: ", msg.ChannelMessages.ID) return nil }