help

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

help 包提供一个可配置的基础帮助命令插件。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) anybot.Plugin

New 创建帮助插件,默认注册 /help。

Types

type Option

type Option func(*plugin)

Option 调整帮助插件的命令名或输出内容。

func WithCommand

func WithCommand(command string) Option

WithCommand 配置帮助命令名。

func WithLine

func WithLine(line string) Option

WithLine 追加一行帮助文本。

Jump to

Keyboard shortcuts

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