added python bot code