A chatbot that can reply when someone calling you by your name. And instant reply in your google meet chat box. It is a simple automation with python.
In online class when someone calling you by your name the bot instant reply with the given answers.This bot help you when you are doing something else not attending the class , this bot may help you to not get a punish from your teacher .
Full tutorial in youtube https://youtu.be/sxtwIwWCPWA
Install python:
https://youtu.be/Ebh157e3FkQ
Install pip:(If you got an error pip not install )
https://phoenixnap.com/kb/install-pip-windows
Set up python and pip Path in Windows :
https://youtu.be/UTUlp6L2zkw
Enable Stereo Mix on Windows. Tutorial: https://youtu.be/65eh7P_kIAI If you are using mac or linux just google it how to enable Stereo Mix and fix this .
Install vs code https://code.visualstudio.com/ Tutorial: https://youtu.be/PhHURrkAJlE
Download or git clone the code. Extract the zip file. Then open the folder and open cmd or terminal.
If you are using windows run:
pip install -r requirements.txt
pipwin install PyAudio==0.2.11
If you are using mac or linux run:
pip3 install -r requirements.txt
pipwin install PyAudio==0.2.11
Then run chatbox_position.py
to find your Google Meet chat box position and notedown the position.
open gmeet.py
in a text editor .
Find
pyautogui.click(x=400, y=600)
Replace x,y with your chat box position.
Find
target_text=["Alex","alex.","ALEX.","Alex?","Alex."]
Just replace the different names with your name. Also give your name in different way something like me.
If you want to add more your name just write a coma and give quataion and add the name (,"alexx"
).
Find
output = ["hmm","internet slow","yes","yes sir","Sir I can't hear you","sir can you repeat again","internet is very slow","hmmm"]
Replace the response with your response.
Run gmeet.py