Inspect.Message.Accept.Check

Checks whether a given message type would be accepted if it were sent to you. Parameters can be replaced by "nil" to check for wildcard acceptance.

Usage:

accepted = Inspect.Message.Accept.Check(type, identifier)
ParameterTypeDatatypeDescription
identifierparameterstring/nilThe identifier type of the message. Used for the receiver to filter accepted messages via the Command.Message.Accept() function. Must be at least three characters long.
typeparameterstring/nilThe type of message. Valid types include "tell", "channel", "guild", "officer", "party", "raid", "say", "yell", "send".
acceptedresultbooleanTrue if the message would be transferred to this client.