go-wxhelper/plugin/plugins/command/help.go

30 lines
647 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package command
import (
"go-wechat/plugin"
"go-wechat/utils"
)
// HelpCmd
// @description: 帮助指令
func HelpCmd(m *plugin.MessageContext) {
str := `帮助菜单:
指令消息必须以'/'开头,比如: '/帮助'。
支持的指令:
#1. 雷神加速器
/ls option args
option: 指令选项,可选值:
绑定账户:'绑定'、'b',参数: 账户名 密码 [-f]-f表示强制绑定非必传项
详情: '详情'、'i'
暂停: '暂停'、'p'
示例: 绑定:
/ls 绑定 123456 123456 或者 /ls b 123456 123456
#2. 肯德基疯狂星期四文案
/kfc、/肯德基
`
utils.SendMessage(m.FromUser, m.GroupUser, str, 0)
}