forked from carrydela/mygoTgChanBot
修复转发跳收藏;修复若干小bug
This commit is contained in:
@@ -51,6 +51,7 @@ func (b *Bot) setupRoutes() {
|
||||
// Category management
|
||||
adminOnly.Handle("/cat_add", b.handleCatAdd)
|
||||
adminOnly.Handle("/cat_del", b.handleCatDel)
|
||||
adminOnly.Handle("/cat_rename", b.handleCatRename)
|
||||
adminOnly.Handle("/cat_list", b.handleCatList)
|
||||
|
||||
// Post flow
|
||||
@@ -97,6 +98,7 @@ func (b *Bot) setCommands() {
|
||||
{Text: "cat_list", Description: "分类列表"},
|
||||
{Text: "cat_add", Description: "添加分类 <名称> [排序]"},
|
||||
{Text: "cat_del", Description: "删除分类 <名称>"},
|
||||
{Text: "cat_rename", Description: "重命名分类 <旧名称> <新名称>"},
|
||||
{Text: "del", Description: "删除条目 <ID>"},
|
||||
{Text: "edit", Description: "编辑标题 <ID> <新标题>"},
|
||||
{Text: "move", Description: "移动条目 <ID> <新分类>"},
|
||||
|
||||
Reference in New Issue
Block a user