add log
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user