From 28c9b2aeae8ce5bb593abc6925ee10e78b417e8e Mon Sep 17 00:00:00 2001 From: mimu Date: Sun, 9 Oct 2022 11:58:31 +0200 Subject: [PATCH] add log --- commands/pinned.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {