This is a discord bot that you can put in your server and you can control your pc with discord. paste this in your broswer: "https://discord.com/oauth2/authorize?client_id=1313614470647648366" to add the bot to your server. READ THIS THEN GO DOWN TO 'DISCORD BOT SETUP'
Install these libraries: "pip install discord.py pyautogui"
The commands are: !open : Opens any application installed on your computer. !cmd : Executes any command-line instruction. !search : Searches a query in your default web browser. !files: Lists files in a specified directory and lets you interactively open files or browse folders. Script" Pretty much all you need!
open "cmd" and type "python bot.py"
if you dont have python install it at "python.org"
when you replace 'YOUR_TOKEN' with your bot token
Go to discord dev portal and create a bot. Grab your Discord Token and put it in the script.
Make sure to check go to the Bot section on the left side of the portal Under Privileged Gateway Intents toggle 'Presence Intent", 'Server members intent' and 'Message conent intent'. ON and click "SAVE CHANGES" Run the script and your good.