syntax

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package syntax 实现SiS机器人支持的语法的解析和执行

Index

Constants

This section is empty.

Variables

View Source
var (
	// 指令前缀,通常为cq码[CQ:at,qq=<机器人qq>]
	CmdPrefix string
)

Functions

func GroupMsg

func GroupMsg(from int64, msg string, ret func(msg string)) bool

GroupMsg 处理从游戏群接收到的消息,若为合法命令则进行相应的处理。并发安全 返回值指示是否拦截本消息

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL