Documentation ¶
Index ¶
- func Run(db *database.MongoDB, message model.Message) ([]string, error)
- type Command
- func (cmd *Command) Execute() ([]string, error)
- func (cmd *Command) GetAutoReplyHelpActive() string
- func (cmd *Command) GetAutoReplyHelpAdd() string
- func (cmd *Command) GetAutoReplyHelpInactive() string
- func (cmd *Command) GetAutoReplyHelpList() string
- func (cmd *Command) GetAutoReplyHelpRemove() string
- func (cmd *Command) GetLeaveHelpAdd() string
- func (cmd *Command) GetLeaveHelpBroadcast2Here() string
- func (cmd *Command) GetLeaveHelpList() string
- func (cmd *Command) GetLeaveHelpRemove() string
- func (cmd *Command) GetReminderHelpActive() string
- func (cmd *Command) GetReminderHelpAdd() string
- func (cmd *Command) GetReminderHelpInactive() string
- func (cmd *Command) GetReminderHelpList() string
- func (cmd *Command) RunRouteAutoReply() ([]string, error)
- func (cmd *Command) RunRouteLeave() ([]string, error)
- func (cmd *Command) RunRouteReminder() ([]string, error)
- type CommandWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Client *database.MongoDB Name string Action string Content string Message model.Message }
func (*Command) GetAutoReplyHelpActive ¶
func (*Command) GetAutoReplyHelpAdd ¶
func (*Command) GetAutoReplyHelpInactive ¶
func (*Command) GetAutoReplyHelpList ¶
func (*Command) GetAutoReplyHelpRemove ¶
func (*Command) GetLeaveHelpAdd ¶
func (*Command) GetLeaveHelpBroadcast2Here ¶
func (*Command) GetLeaveHelpList ¶
func (*Command) GetLeaveHelpRemove ¶
func (*Command) GetReminderHelpActive ¶
func (*Command) GetReminderHelpAdd ¶
func (*Command) GetReminderHelpInactive ¶
func (*Command) GetReminderHelpList ¶
func (*Command) RunRouteAutoReply ¶
func (*Command) RunRouteLeave ¶
func (*Command) RunRouteReminder ¶
type CommandWorker ¶
Click to show internal directories.
Click to hide internal directories.