Skip to content

ChatCrown

object ChatCrown
Example
on_public_chat { subject ->
val crown = ChatCrown.of(subject)
if (crown != ChatIcon.None) Logger.info("a crowned speaker ($crown) said: $text")
subject.speak(text = text, colour = colour, effect = effect)
}
fun of(speaker: Entity): ChatIcon