From 6d43ca9db4a8be85600f2a98e634ee40316180fc Mon Sep 17 00:00:00 2001 From: mimu Date: Sun, 9 Oct 2022 11:55:23 +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 173ffe8..ec7cca9 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.Id.String()}, timeout) + _, close := itx.Client.AwaitComponent([]string{itx.Data.Id.String()}, timeout) messages, err := getPinnedMessages(itx.Client.Rest, itx.ChannelId.String()) if err != nil {