toggle menu
Simple Robot 组件 | KOOK
4.0.1
common
switch theme
search in API
simbot-component-kook-core
/
love.forte.simbot.component.kook.util
Package-level
declarations
Functions
Inherited functions
request
Link copied to clipboard
suspend
fun
KookBot
.
request
(
api
:
KookApi
<
*
>
)
:
HttpResponse
使用
KookBot
对
api
发起请求。
request
By
Link copied to clipboard
suspend
fun
KookApi
<
*
>
.
requestBy
(
bot
:
KookBot
)
:
HttpResponse
使用
KookApi
通过
bot
发起请求。
request
Data
Link copied to clipboard
suspend
fun
<
T
:
Any
>
KookBot
.
requestData
(
api
:
KookApi
<
T
>
)
:
T
使用
KookBot
对
api
发起请求。
request
Data
By
Link copied to clipboard
suspend
fun
<
T
:
Any
>
KookApi
<
T
>
.
requestDataBy
(
bot
:
KookBot
)
:
T
使用
KookApi
通过
bot
发起请求。
request
Result
Link copied to clipboard
suspend
fun
KookBot
.
requestResult
(
api
:
KookApi
<
*
>
)
:
ApiResult
使用
KookBot
对
api
发起请求。
request
Result
By
Link copied to clipboard
suspend
fun
KookApi
<
*
>
.
requestResultBy
(
bot
:
KookBot
)
:
ApiResult
使用
KookApi
通过
bot
发起请求。
request
Text
Link copied to clipboard
suspend
fun
KookBot
.
requestText
(
api
:
KookApi
<
*
>
)
:
String
使用
KookBot
对
api
发起请求。
request
Text
By
Link copied to clipboard
suspend
fun
KookApi
<
*
>
.
requestTextBy
(
bot
:
KookBot
)
:
String
使用
KookApi
通过
bot
发起请求。
walk
Link copied to clipboard
inline
fun
Regex
.
walk
(
input
:
String
,
onOther
:
(
input
:
String
,
start
:
Int
,
end
:
Int
)
->
Unit
,
onMatch
:
(
MatchResult
)
->
Unit
)
:
Boolean