utils

package
v0.0.0-...-79b6298 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MESSAGE_BLOCK  uint = 0
	MESSAGE_IGNORE uint = 1
)

Variables

View Source
var PluginSet map[string]Plugin

Functions

func Register

func Register(k string, v Plugin)

Types

type Plugin

type Plugin interface {
	Do(ctx *context.Context, bot *pbbot.Bot, event *onebot.GroupMessageEvent) (retval uint)
}

Jump to

Keyboard shortcuts

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