Documentation
¶
Index ¶
- Variables
- type Interface
- type Service
- func (service *Service) AwaitChannelSelect(interaction *bot.InteractionContext, selectMenu components.ChannelSelect) (*bot.InteractionContext, error)
- func (service *Service) AwaitSimpleTextModal(interaction *bot.InteractionContext, textInput components.TextInput, ...) (*bot.InteractionContext, error)
- func (service *Service) AwaitStringSelect(interaction *bot.InteractionContext, options []components.SelectOption, ...) (*bot.InteractionContext, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
AwaitStringSelect(interaction *bot.InteractionContext, options []components.SelectOption, selectMenu components.StringSelect) (*bot.InteractionContext, error)
AwaitSimpleTextModal(interaction *bot.InteractionContext, textInput components.TextInput, modalData components.ModalData) (*bot.InteractionContext, error)
AwaitChannelSelect(interaction *bot.InteractionContext, selectMenu components.ChannelSelect) (*bot.InteractionContext, error)
}
type Service ¶
type Service struct{}
func (*Service) AwaitChannelSelect ¶
func (service *Service) AwaitChannelSelect(interaction *bot.InteractionContext, selectMenu components.ChannelSelect) (*bot.InteractionContext, error)
func (*Service) AwaitSimpleTextModal ¶
func (service *Service) AwaitSimpleTextModal(interaction *bot.InteractionContext, textInput components.TextInput, modalData components.ModalData) (*bot.InteractionContext, error)
func (*Service) AwaitStringSelect ¶
func (service *Service) AwaitStringSelect(interaction *bot.InteractionContext, options []components.SelectOption, selectMenu components.StringSelect) (*bot.InteractionContext, error)
Click to show internal directories.
Click to hide internal directories.