Allow non-text input to plugins

Implemented by:

- disabling the check for msg.text == nil
- setting the match text to [msg.media.type]