give plugins ability to reply to public messages

Not compatible with PR #14. Should be easy enough to fix, though.