toggle menu
Simple Robot 组件 | KOOK
4.0.1
common
switch theme
search in API
simbot-component-kook-api
/
love.forte.simbot.kook
/
TokenType
/
Companion
/
byPrefix
by
Prefix
@
JvmStatic
fun
byPrefix
(
prefix
:
String
)
:
TokenType
(
source
)
通过
prefix
寻找匹配的
TokenType
。
需要注意匹配是大小写相关的。
Throws
No
Such
Element
Exception
没有匹配的结果时