I am new to python and discord bots, So I am sorry if this is a stupid question or my way of handling it is not right. My goal was to make a bot that can open an instant google meet and send me the link on discord. I was able to achieve the first part of the goal, that is, I was able to programme the bot to open chrome and go to the google meet website using
I had to set the path to chrome.exe in Environment Variables. From there I used
pyautogui to start a meeting. After that, the bot automatically copies the link to the meeting.
Now, this is the part I am stuck in, I don’t know how to send this link through the bot to my discord.
I thought of using a separate python program that runs simultaneously. The first program first adds the link in the second program’s code and then executes it in cmd. The second program’s job would be to just send a message. But I would like to know if there’s any easier way of doing this.
Thank you for anyone replying.
I am using Python 3.9 and discord.py 1.7.2
Source: Python-3x Questions