From b5070c1cf602d565cfae4339aba159e64ef8d418 Mon Sep 17 00:00:00 2001 From: biast12 Date: Thu, 29 Jan 2026 22:32:00 +0100 Subject: [PATCH] RM-239: Remove import pipeline --- bot/command/impl/admin/debug/debugserver.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/bot/command/impl/admin/debug/debugserver.go b/bot/command/impl/admin/debug/debugserver.go index 0f4383e..a65b419 100644 --- a/bot/command/impl/admin/debug/debugserver.go +++ b/bot/command/impl/admin/debug/debugserver.go @@ -161,12 +161,6 @@ func (AdminDebugServerCommand) Execute(ctx registry.CommandContext, raw string) return } - importLogs, err := dbclient.Client.ImportLogs.GetRuns(ctx, guild.Id) - if err != nil { - ctx.HandleError(err) - return - } - featuresEnabled := []string{} for i := range experiments.List { @@ -294,18 +288,6 @@ func (AdminDebugServerCommand) Execute(ctx registry.CommandContext, raw string) settingsInfo = append(settingsInfo, fmt.Sprintf("Enabled Integrations: %d (%s)", len(enabledIntegrations), strings.Join(enabledIntegrations, ", "))) } - hasDataRun, hasTranscriptRun := false, false - for _, log := range importLogs { - switch log.RunType { - case "DATA": - hasDataRun = true - case "TRANSCRIPT": - hasTranscriptRun = true - } - } - settingsInfo = append(settingsInfo, fmt.Sprintf("Data Imported: `%t`", hasDataRun)) - settingsInfo = append(settingsInfo, fmt.Sprintf("Transcripts Imported: `%t`", hasTranscriptRun)) - debugResponse := []string{ fmt.Sprintf("**Server Info**\n- %s", strings.Join(guildInfo, "\n- ")), fmt.Sprintf("**Settings**\n- %s", strings.Join(settingsInfo, "\n- ")),