Incrase maximum size for content to 2 MiB
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / text / SonePart.kt
1 package net.pterodactylus.sone.text
2
3 import net.pterodactylus.sone.data.Sone
4 import net.pterodactylus.sone.template.SoneAccessor
5
6 /**
7  * [Part] implementation that stores a reference to a [Sone].
8  */
9 data class SonePart(val sone: Sone) : Part {
10
11         override val text: String = SoneAccessor.getNiceName(sone)
12
13 }