Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandHandlers = []DescCommandHandler{ {"start", i18nk.BotMsgCmdStart, handleHelpCmd}, {"silent", i18nk.BotMsgCmdSilent, handleSilentCmd}, {"storage", i18nk.BotMsgCmdStorage, handleStorageCmd}, {"dir", i18nk.BotMsgCmdDir, handleDirCmd}, {"rule", i18nk.BotMsgCmdRule, handleRuleCmd}, {"save", i18nk.BotMsgCmdSave, handleSilentMode(handleSaveCmd, handleSilentSaveReplied)}, {"dl", i18nk.BotMsgCmdDl, handleDlCmd}, {"task", i18nk.BotMsgCmdTask, handleTaskCmd}, {"cancel", i18nk.BotMsgCmdCancel, handleCancelCmd}, {"watch", i18nk.BotMsgCmdWatch, handleWatchCmd}, {"unwatch", i18nk.BotMsgCmdUnwatch, handleUnwatchCmd}, {"lswatch", i18nk.BotMsgCmdLswatch, handleLswatchCmd}, {"config", i18nk.BotMsgCmdConfig, handleConfigCmd}, {"fnametmpl", i18nk.BotMsgCmdFnametmpl, handleConfigFnameTmpl}, {"help", i18nk.BotMsgCmdHelp, handleHelpCmd}, {"parser", i18nk.BotMsgCmdParser, handleParserCmd}, {"update", i18nk.BotMsgCmdUpdate, handleUpdateCmd}, }
Functions ¶
func Register ¶
func Register(disp dispatcher.Dispatcher)
Types ¶
type DescCommandHandler ¶ added in v0.34.1
type MediaGroupHandler ¶ added in v0.26.0
type MediaGroupHandler struct {
// contains filtered or unexported fields
}
func (*MediaGroupHandler) SetupTimeout ¶ added in v0.38.4
func (m *MediaGroupHandler) SetupTimeout(timeoutSec int)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.