Added the ability to check for public messages in the CLI