Button
约 183 字小于 1 分钟
2025-10-13
Karin API Docs / Button
接口: Button
定义于: packages/core/src/types/plugin/button.ts:9
按钮插件类型
属性
file
file:
PluginFile
<"button"
>
定义于: packages/core/src/types/plugin/button.ts:13
插件方法基本属性
fnc()
fnc: (
next
,args?
) =>ButtonType
|Promise<ButtonType>
定义于: packages/core/src/types/plugin/button.ts:21
执行方法
参数
next
() => void
是否继续匹配下一个按钮 默认否 调用后则继续
args?
自定义参数 如果传e需要符合标准
e?
返回
ButtonType
| Promise<ButtonType>
pkg
pkg:
PkgInfo
定义于: packages/core/src/types/plugin/button.ts:11
插件包基本属性
priority
priority:
number
定义于: packages/core/src/types/plugin/button.ts:15
优先级
rank
rank:
number
定义于: packages/core/src/types/plugin/button.ts:19
优先级
reg
reg:
RegExp
定义于: packages/core/src/types/plugin/button.ts:17
插件正则