plugin

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanMemberHandler added in v1.8.2

func CleanMemberHandler(ctx *Context, u *ext.Update) error

CleanMemberHandler 按多种方式清理群成员. 用法: [prefix]clean_member

func Dispatcher

func Dispatcher(ctx *ext.Context, u *ext.Update) error

func RepeatHandler

func RepeatHandler(ctx *Context, u *ext.Update) error

RepeatHandler repeats(forwards) the message to the current chat and deletes the command message.([prefix]re [count])

Types

type Context

type Context struct {
	*ext.Context
	Args []string
	Cmd  string
}

type PluginFunc

type PluginFunc func(ctx *Context, u *ext.Update) error

Jump to

Keyboard shortcuts

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