Skip to content

Commit

Permalink
feat(FAQ): added close button to faqs overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesuaheli committed Jan 5, 2025
1 parent f057e57 commit a21a49d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/faq/faqBase.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func (faq faqBase) getAllFAQsMessage() (msg *discordgo.InteractionResponseData)
nil,
))
}
components = append(components, util.CloseButtonComponent())
msg.Components = []discordgo.MessageComponent{discordgo.ActionsRow{Components: components}}

return
Expand Down

0 comments on commit a21a49d

Please sign in to comment.