Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
6 changes: 3 additions & 3 deletions internal/server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
},
})
Expand All @@ -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),
},
},
})
Expand Down Expand Up @@ -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),
Expand Down
Loading