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
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
.