toTranslationKey

fun ChannelType.toTranslationKey(): Key

Given a ChannelType, return a string representing its translation key.


fun NsfwLevel.toTranslationKey(): Key?

Given a NsfwLevel, return a string representing its translation key.


fun Permission.toTranslationKey(): Key?