rules

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDetailType

func CheckDetailType(tp string) zero.Rule

CheckDetailType Rule:检查事件DetailType(MessageType/NoticeType/RequestType)

func SkipGroupAnonymous

func SkipGroupAnonymous(ctx *zero.Ctx) bool

SkipGroupAnonymous Rule:不处理群匿名消息

func SkipGuildMessage

func SkipGuildMessage(ctx *zero.Ctx) bool

SkipGuildMessage Rule:不处理频道消息事件

Types

This section is empty.

Jump to

Keyboard shortcuts

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