mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.util
/
AnsiMessageBuilder
/
Companion
/
asAnsiMessageBuilder
as
Ansi
Message
Builder
@
JvmStatic
@
JvmOverloads
@
JvmName
(
name
=
"from"
)
fun
StringBuilder
.
asAnsiMessageBuilder
(
noAnsi
:
Boolean
=
false
)
:
AnsiMessageBuilder
使用
this
封装一个
AnsiMessageBuilder
Parameters
no
Ansi
为
true
时忽略全部与 ansi 有关的方法的调用