ModeratorActionNameTag
struct ModeratorActionNameTag : LeafTag
Renders the human-readable name of a ModeratorActionType, e.g. “regCodeViewed” → “Viewed Registration Code”. Unknown values are rendered as-is so old log rows never disappear from the moderator log.
Usage: #moderatorActionName(String) -> String
-
Declaration
Swift
func render(_ ctx: LeafContext) throws -> LeafData
View on GitHub