add log
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ var Pinned tempest.Command = tempest.Command{
|
|||||||
Options: []tempest.Option{},
|
Options: []tempest.Option{},
|
||||||
SlashCommandHandler: func(itx tempest.CommandInteraction) {
|
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())
|
messages, err := getPinnedMessages(itx.Client.Rest, itx.ChannelId.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user