Make sure the bot only tries to add properly encoded messages to the database