Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "solved" AutoClose = "auto-close" )
Variables ¶
View Source
var Command = &discordgo.ApplicationCommand{ Name: Name, Description: "Close and mark a forum post as solved.", Options: []*discordgo.ApplicationCommandOption{ { Required: false, Name: AutoClose, Description: "If the 'auto-close' option isn't specified, the post will remain open after using the command.", Type: discordgo.ApplicationCommandOptionInteger, Choices: []*discordgo.ApplicationCommandOptionChoice{ { Name: "Close right after", Value: 1, }, { Name: "In 1 hour", Value: 60, }, { Name: "In 24 hours", Value: 60 * 24, }, { Name: "In 3 days", Value: 60 * 24 * 3, }, { Name: "In a week", Value: 60 * 24 * 7, }, }, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.