mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event
/
MessageSubscribersBuilder
/
case
case
fun
case
(
equals
:
String
,
ignoreCase
:
Boolean
=
false
,
trim
:
Boolean
=
true
)
:
MessageSubscribersBuilder.ListeningFilter
<
M
,
Ret
,
R
,
RR
>
消息内容
==
equals
fun
case
(
equals
:
String
,
ignoreCase
:
Boolean
=
false
,
trim
:
Boolean
=
true
,
onEvent
:
MessageListener
<
M
,
R
>
)
:
Ret
消息内容
==
equals
Parameters
trim
true
则删除首尾空格后比较
ignore
Case
true
则不区分大小写