diff --git a/bot/onMessageCreate.go b/bot/onMessageCreate.go index ad78233..439ae7c 100644 --- a/bot/onMessageCreate.go +++ b/bot/onMessageCreate.go @@ -1,7 +1,6 @@ package bot import ( - "context" "fmt" "net/http" "strconv" @@ -9,10 +8,8 @@ import ( "time" "gitea.konchin.com/go2025/backend/handlers/api" - "gitea.konchin.com/go2025/backend/tracing" "github.com/bwmarrin/discordgo" "github.com/spf13/viper" - "go.uber.org/zap" "golang.org/x/exp/rand" ) @@ -28,10 +25,6 @@ func (b *Bot) fetchAliases() { aliases[alias.Name] = alias.Id } b.aliases = aliases - - tracing.Logger.Ctx(context.Background()). - Info("nmsl", - zap.String("aliases", fmt.Sprintf("%+v", aliases))) } time.Sleep(10 * time.Second) @@ -48,9 +41,6 @@ func (b *Bot) onMessageCreate( } key := strings.ToLower(strings.TrimSpace(m.Content)) - tracing.Logger.Ctx(context.Background()). - Info("wtf", - zap.String("key", key)) if id, ok := b.aliases[key]; ok { var res []api.GetImagesOutputImage diff --git a/docker-compose.yml b/docker-compose.yml index 7cdf096..7220956 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -84,7 +84,6 @@ services: - backend restart: unless-stopped - volumes: redis: {} postgres: {}