Is there a way to send a copied link to my discord channel through a bot?

  bots, discord, pyautogui, python-3.x

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 os.system


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 1.7.2

Source: Python-3x Questions