Documentation
¶
Index ¶
Constants ¶
View Source
const ( True = Bool(true) False = Bool(false) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Form ¶
type Form interface {
Create() discord.MessageCreate
Handle(event *events.ComponentInteractionCreate) error
}
type Manager ¶
type Manager interface {
// TODO: better name
Send(channelID snowflake.ID, form Form) error
// as same as the command manager, we need to handle the interaction
OnComponentInteractionCreate(event *events.ComponentInteractionCreate)
}
func NewManager ¶
Click to show internal directories.
Click to hide internal directories.