Skip to content
Open
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: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ go 1.24.0

//replace github.com/TicketsBot-cloud/database => ../database

//replace github.com/TicketsBot-cloud/gdl => ../gdl
replace github.com/TicketsBot-cloud/gdl => ../gdl

//replace github.com/TicketsBot-cloud/archiverclient => ./archiverclient

//replace github.com/TicketsBot-cloud/logarchiver => ../logarchiver
replace github.com/TicketsBot-cloud/logarchiver => ../logarchiver

require (
github.com/TicketsBot-cloud/archiverclient v0.0.0-20251015181023-f0b66a074704
Expand Down
4 changes: 2 additions & 2 deletions internal/callback/callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (c *Callback) buildResultComponents(locale *i18n.Locale, result ResultData,
func (c *Callback) editOriginalMessage(ctx context.Context, request gdprrelay.GDPRRequest, components []component.Component) error {
data := rest.WebhookEditBody{
Components: components,
Flags: uint(message.FlagComponentsV2),
Flags: uint(message.FlagIsComponentsV2),
}

_, err := rest.EditOriginalInteractionResponse(ctx, request.InteractionToken, c.rateLimiter, request.ApplicationId, data)
Expand Down Expand Up @@ -218,7 +218,7 @@ func (c *Callback) sendCompletionViaDM(ctx context.Context, request gdprrelay.GD

data := rest.CreateMessageData{
Components: components,
Flags: uint(message.FlagComponentsV2),
Flags: uint(message.FlagIsComponentsV2),
}

_, err = rest.CreateMessage(ctx, config.Conf.Discord.Token, c.rateLimiter, dmChannel.Id, data)
Expand Down