Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandHandlers = []DescCommandHandler{
{"start", "开始使用", handleHelpCmd},
{"silent", "切换静默模式", handleSilentCmd},
{"storage", "设置默认存储端", handleStorageCmd},
{"dir", "管理存储文件夹", handleDirCmd},
{"rule", "管理自动存储规则", handleRuleCmd},
{"save", "保存文件", handleSilentMode(handleSaveCmd, handleSilentSaveReplied)},
{"dl", "下载给定链接的文件", handleDlCmd},
{"task", "管理任务队列", handleTaskCmd},
{"cancel", "取消任务", handleCancelCmd},
{"watch", "监听聊天(UserBot)", handleWatchCmd},
{"unwatch", "取消监听聊天(UserBot)", handleUnwatchCmd},
{"lswatch", "列出监听的聊天(UserBot)", handleLswatchCmd},
{"config", "修改配置", handleConfigCmd},
{"fnametmpl", "设置文件命名模板", handleConfigFnameTmpl},
{"help", "显示帮助", handleHelpCmd},
{"parser", "管理解析器", handleParserCmd},
{"update", "检查更新", 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.