Skip to content

Commit

Permalink
fix: 移除菜单一中插件描述,由于文本太长可能导致微信崩溃
Browse files Browse the repository at this point in the history
  • Loading branch information
yqchilde committed Mar 13, 2023
1 parent 65b3e44 commit 79b1f4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/manager/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ func registerCommand() {
menu += "服务名: %s\n"
menu += "别称: %s\n"
menu += "默认开启状态: %v\n"
menu += "当前开启状态: %v\n"
menu += "插件描述: %s\n\n"
menus += fmt.Sprintf(menu, options.Menus[i].Name, options.Menus[i].Alias, options.Menus[i].DefStatus, options.Menus[i].CurStatus, options.Menus[i].Describe)
menu += "当前开启状态: %v\n\n"
menus += fmt.Sprintf(menu, options.Menus[i].Name, options.Menus[i].Alias, options.Menus[i].DefStatus, options.Menus[i].CurStatus)
}
ctx.ReplyTextAndAt(menus)
case "2":
Expand Down

0 comments on commit 79b1f4a

Please sign in to comment.