Simple Robot Component Mirai
3.0.0.0-M3
simbot-component-mirai-core
/
love.forte.simbot.component.mirai.bot
/
MiraiBot
/
avatar
avatar
@
JvmName
(
name
=
"getAvatar"
)
open
fun
avatar
(
spec
:
AvatarSpec
)
:
String
(
source
)
获取当前bot的头像链接。
See also
Bot.
avatar
Parameters
spec
头像规格,为mirai原生类型
AvatarSpec
。
open
override
val
avatar
:
String
(
source
)
获取当前bot的头像链接。规格默认为
AvatarSpec.LARGEST
See also
Bot.
avatarUrl