mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 21:12:40 +08:00
Change Image.toString format to contain more information
This commit is contained in:
parent
149b77c05b
commit
796df9b79f
@ -17,7 +17,7 @@ import net.mamoe.mirai.utils.MiraiLogger
|
||||
*/
|
||||
// moved from mirai-core-api since 2.11
|
||||
internal sealed class AbstractImage : Image {
|
||||
private val _stringValue: String? by lazy(LazyThreadSafetyMode.NONE) { "[mirai:image:$imageId]" }
|
||||
private val _stringValue: String? by lazy(LazyThreadSafetyMode.NONE) { "[mirai:image:$imageId, width=$width, height=$height, size=$size, type=$imageType, isEmoji=$isEmoji]" }
|
||||
|
||||
override val size: Long
|
||||
get() = 0L
|
||||
|
Loading…
Reference in New Issue
Block a user