login ( username = '', password = '' ) chatbot. To install development version: pip3 install git+Ĭreate sample script main.py: from instachatbot.bot import InstagramChatBot from instachatbot.nodes import ( MenuNode, MenuItem, MessageNode, QuestionnaireNode, NotifyAdminNode ) menu = MenuNode ( '💡Choose menu: \n ', , header = 'Please answer the following questions', admin_username = '', response = 'Thank your for your answers' )), MenuItem ( 'send notification to admin', NotifyAdminNode ( 'Thank you', notification = 'Sample notification from bot user', admin_username = '' ) ), ], error_message = 'Failed to select menu.' ) chatbot = InstagramChatBot ( menu = menu ) chatbot. Simple framework for building Instagram chat bots with menu driven interface Installation pip3 install instachatbot