message_resolver library

Classes

MessageResolver
Resolves raw message content to human readable string. Allows to set what to do with particular parts of message. Each mention, channel reference and emoji can be resolved by TagHandling
Regexes
Collection of regexes for message entities

Enums

TagHandling
Possible types of tag handling for MessageResolver

Extensions

MessageResolverExtension on IMessage
Extends Message class with MessageResolver

Typedefs

MissingEntityHandler = FutureOr<String> Function(String entityType)
Allows to return custom messages in case of missing entities when resolving message content. entityType could be either role, channel or user.