splitted the bot message control in a different file