diff --git a/go.mod b/go.mod index 1d50270..bc6de31 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,10 @@ go 1.22.0 toolchain go1.24.2 +// replace github.com/TicketsBot-cloud/gdl => ../gdl + require ( - github.com/TicketsBot-cloud/gdl v0.0.0-20250509054940-2045fbe19c06 + github.com/TicketsBot-cloud/gdl v0.0.0-20261022191043-9caa827c743a github.com/caarlos0/env/v9 v9.0.0 github.com/getsentry/sentry-go v0.31.1 github.com/gin-contrib/zap v0.1.0 diff --git a/go.sum b/go.sum index 1dff8b3..ba6e81f 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/ReneKroon/ttlcache v1.6.0/go.mod h1:DG6nbhXKUQhrExfwwLuZUdH7UnRDDRA1IW+nBuCssvs= -github.com/TicketsBot-cloud/gdl v0.0.0-20250509054940-2045fbe19c06 h1:PzziB2S58d9agJtpaPVrYMTuBiJICr2QIGQoqL6l3z0= -github.com/TicketsBot-cloud/gdl v0.0.0-20250509054940-2045fbe19c06/go.mod h1:CdwBR2egPtxUXjD2CgC9ZwfuB8dz9HPePM8nuG6dt7Y= +github.com/TicketsBot-cloud/gdl v0.0.0-20261022191043-9caa827c743a h1:e5tzjv+rKBV87epE/Tv3/yADr4dCG5SoBrpqv28x6nE= +github.com/TicketsBot-cloud/gdl v0.0.0-20261022191043-9caa827c743a/go.mod h1:CdwBR2egPtxUXjD2CgC9ZwfuB8dz9HPePM8nuG6dt7Y= github.com/TicketsBot/ttlcache v1.6.1-0.20200405150101-acc18e37b261 h1:NHD5GB6cjlkpZFjC76Yli2S63/J2nhr8MuE6KlYJpQM= github.com/TicketsBot/ttlcache v1.6.1-0.20200405150101-acc18e37b261/go.mod h1:2zPxDAN2TAPpxUPjxszjs3QFKreKrQh5al/R3cMXmYk= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= diff --git a/internal/server/handler.go b/internal/server/handler.go index 9fc1f8f..8991fa0 100644 --- a/internal/server/handler.go +++ b/internal/server/handler.go @@ -108,7 +108,7 @@ func handleCommand(s *Server, data interaction.ApplicationCommandInteraction) in Title: "Account Not Found", Description: fmt.Sprintf("No Patreon account with id `%d` found", userId), Timestamp: ptr(time.Now()), - Color: red, + Color: ptr(red), }, }, }) @@ -132,7 +132,7 @@ func handleCommand(s *Server, data interaction.ApplicationCommandInteraction) in Title: "Account Not Found", Description: fmt.Sprintf("No Patreon account with email `%s` found", email), Timestamp: ptr(time.Now()), - Color: red, + Color: ptr(red), }, }, }) @@ -167,7 +167,7 @@ func handleCommand(s *Server, data interaction.ApplicationCommandInteraction) in Title: "Account Found", Url: fmt.Sprintf("https://www.patreon.com/user?u=%d", patron.Id), Timestamp: ptr(time.Now()), - Color: blue, + Color: ptr(blue), Author: &embed.EmbedAuthor{ Name: user.Username, IconUrl: user.AvatarUrl(256),