Fixed bot issue, missing semi-colon and user.name called out of scope