Updated bot to deal with MQTT updates