avatar

@JvmName(name = "getAvatar")
open fun avatar(spec: AvatarSpec): String(source)

获取当前bot的头像链接。

See also

Parameters

spec

头像规格,为mirai原生类型 AvatarSpec


open override val avatar: String(source)

获取当前bot的头像链接。规格默认为 AvatarSpec.LARGEST

See also