diff --git a/commands/pinned.go b/commands/pinned.go index 5a52bbd..d8863b2 100644 --- a/commands/pinned.go +++ b/commands/pinned.go @@ -57,6 +57,8 @@ var Pinned tempest.Command = tempest.Command{ itx.SendLinearReply("no data for this channel", false) } + fmt.Println(channelData) + if channelData.Count == 0 { itx.SendLinearReply("no pinned messages", false) return