diff --git a/commands/pinned.go b/commands/pinned.go index ec7cca9..ec7d22e 100644 --- a/commands/pinned.go +++ b/commands/pinned.go @@ -17,7 +17,7 @@ var Pinned tempest.Command = tempest.Command{ Options: []tempest.Option{}, SlashCommandHandler: func(itx tempest.CommandInteraction) { - _, close := itx.Client.AwaitComponent([]string{itx.Data.Id.String()}, timeout) + _, close := itx.Client.AwaitComponent([]string{itx.Data.CustomId}, timeout) messages, err := getPinnedMessages(itx.Client.Rest, itx.ChannelId.String()) if err != nil {