example

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExamplePluginCQCode

func ExamplePluginCQCode()

func ExamplePluginGroup

func ExamplePluginGroup()

ExamplePluginGroup 样例,消息组的用法 所有插件本质上都至少属于一个组,即使是直接调用 BIndPlugin 函数绑定的插件,也会被自动分配到default组中 default组是一个特殊的组,它会忽略 PluginOption 参数

func ExampleReplyMessage

func ExampleReplyMessage()

ExampleReplyMessage 样例,可以回复消息,justQQ可以指定只有某个QQ才能出发回复

func GetPluginAt

func GetPluginAt(to int64, only int64) rbq.PluginFunc

func PluginAt

func PluginAt(ctx *rbq.Context)

PluginAt 一个简单的 at 插件示例

func PluginGroup1

func PluginGroup1(ctx *qq_robot_go.Context)

PluginGroup1 这是插件

func PluginGroup2

func PluginGroup2(ctx *qq_robot_go.Context)

func Reply

func Reply(ctx *rbq.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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