This commit is contained in:
mimu
2022-10-09 11:58:31 +02:00
parent 6d43ca9db4
commit 28c9b2aeae
+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.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 {