main bot file