Documentation ¶
Index ¶
- Constants
- type Forms
- func (f *Forms) ModAcceptButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
- func (f *Forms) ModBanButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
- func (f *Forms) ModBanModalSubmit(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
- func (f *Forms) ModRejectButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, _ *components.CustomID) error
- func (f *Forms) ModalOpenButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
- func (f *Forms) ModalSubmitted(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
- type Options
Constants ¶
View Source
const ( OpenModalButton = "f-modal-button" Modal = "f-modal" ModeratorAcceptButton = "fma" ModeratorRejectButton = "fmr" ModeratorBanButton = "fmb" ModeratorBanConfirmModal = "fmb-modal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forms ¶
type Forms struct {
// contains filtered or unexported fields
}
func (*Forms) ModAcceptButtonClicked ¶
func (f *Forms) ModAcceptButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
func (*Forms) ModBanButtonClicked ¶
func (f *Forms) ModBanButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
func (*Forms) ModBanModalSubmit ¶
func (f *Forms) ModBanModalSubmit(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
func (*Forms) ModRejectButtonClicked ¶
func (f *Forms) ModRejectButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, _ *components.CustomID) error
func (*Forms) ModalOpenButtonClicked ¶
func (f *Forms) ModalOpenButtonClicked(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
func (*Forms) ModalSubmitted ¶
func (f *Forms) ModalSubmitted(s *dgo.Session, i *dgo.InteractionCreate, customId *components.CustomID) error
Click to show internal directories.
Click to hide internal directories.