Documentation ¶
Index ¶
- type CheckinHandler
- type ClearHandler
- type MessageHandler
- type MotionHandler
- type PullTabbycatHandler
- type RegHandler
- type TabbycatRoundsHandler
- type Tabulatron
- func (t *Tabulatron) AcknowledgeMessage(message *disgord.Message)
- func (t *Tabulatron) CreateDMAndSendMessage(snowflake disgord.Snowflake, message string)
- func (t *Tabulatron) HandleDeparture(s disgord.Session, evt *disgord.GuildMemberRemove)
- func (t *Tabulatron) HandleMessage(s disgord.Session, evt *disgord.MessageCreate)
- func (t *Tabulatron) RejectMessage(message *disgord.Message)
- func (t *Tabulatron) ReplyMessage(message *disgord.Message, reply string, a ...interface{}) *disgord.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckinHandler ¶
type CheckinHandler struct {
// contains filtered or unexported fields
}
func NewCheckinHandler ¶
func NewCheckinHandler(t *Tabulatron) *CheckinHandler
func (*CheckinHandler) CanHandle ¶
func (h *CheckinHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*CheckinHandler) Handle ¶
func (h *CheckinHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type ClearHandler ¶
type ClearHandler struct {
// contains filtered or unexported fields
}
func NewClearHandler ¶
func NewClearHandler(t *Tabulatron) *ClearHandler
func (*ClearHandler) CanHandle ¶
func (h *ClearHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*ClearHandler) Handle ¶
func (h *ClearHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type MessageHandler ¶
type MessageHandler interface { CanHandle(disgord.Session, *disgord.MessageCreate) bool Handle(disgord.Session, *disgord.MessageCreate) }
type MotionHandler ¶
type MotionHandler struct {
// contains filtered or unexported fields
}
func NewMotionHandler ¶
func NewMotionHandler(t *Tabulatron) *MotionHandler
func (*MotionHandler) CanHandle ¶
func (h *MotionHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*MotionHandler) Handle ¶
func (h *MotionHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type PullTabbycatHandler ¶
type PullTabbycatHandler struct {
// contains filtered or unexported fields
}
func NewPullTabbycatHandler ¶
func NewPullTabbycatHandler(t *Tabulatron) *PullTabbycatHandler
func (*PullTabbycatHandler) CanHandle ¶
func (h *PullTabbycatHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*PullTabbycatHandler) Handle ¶
func (h *PullTabbycatHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type RegHandler ¶
type RegHandler struct {
// contains filtered or unexported fields
}
func NewRegHandler ¶
func NewRegHandler(t *Tabulatron) *RegHandler
func (*RegHandler) CanHandle ¶
func (h *RegHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*RegHandler) Handle ¶
func (h *RegHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type TabbycatRoundsHandler ¶
type TabbycatRoundsHandler struct {
// contains filtered or unexported fields
}
func NewTabbycatRoundsHandler ¶
func NewTabbycatRoundsHandler(t *Tabulatron) *TabbycatRoundsHandler
func (*TabbycatRoundsHandler) CanHandle ¶
func (h *TabbycatRoundsHandler) CanHandle(_ disgord.Session, evt *disgord.MessageCreate) bool
func (*TabbycatRoundsHandler) Handle ¶
func (h *TabbycatRoundsHandler) Handle(s disgord.Session, evt *disgord.MessageCreate)
type Tabulatron ¶
type Tabulatron struct {
// contains filtered or unexported fields
}
func (*Tabulatron) AcknowledgeMessage ¶
func (t *Tabulatron) AcknowledgeMessage(message *disgord.Message)
func (*Tabulatron) CreateDMAndSendMessage ¶
func (t *Tabulatron) CreateDMAndSendMessage(snowflake disgord.Snowflake, message string)
func (*Tabulatron) HandleDeparture ¶
func (t *Tabulatron) HandleDeparture(s disgord.Session, evt *disgord.GuildMemberRemove)
func (*Tabulatron) HandleMessage ¶
func (t *Tabulatron) HandleMessage(s disgord.Session, evt *disgord.MessageCreate)
func (*Tabulatron) RejectMessage ¶
func (t *Tabulatron) RejectMessage(message *disgord.Message)
func (*Tabulatron) ReplyMessage ¶
Click to show internal directories.
Click to hide internal directories.