stopped using deprecated members from bot package