Refactored bot message logic and added echoing when named