This commit is contained in:
mimu
2022-10-09 11:55:23 +02:00
parent db7fa5bd59
commit 6d43ca9db4
+1 -1
View File
@@ -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 {