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.
accepted = Inspect.Message.Accept.Check(type, identifier) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
identifier | parameter | string/nil | The 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. |
type | parameter | string/nil | The type of message. Valid types include "tell", "channel", "guild", "officer", "party", "raid", "say", "yell", "send". |
accepted | result | boolean | True if the message would be transferred to this client. |