Allows the remote control of a game from a text-channel in Discord
PLEASE RUN THIS IN A VIRTUAL MACHINE.
This program allows the capturing of your screen and the controlling of your computer. Please run this in a Virtual Machine.
The screenshots it takes will be taken of both screens, so be certain to only have one screen while running this.
Step 1:
Make an application and copy the token of your bot to your clipboard. Then, download master.zip and unzip.
Step 2:
Install Python, discord.py, and pynput (as stated in the requirements section) with a package manager like pip, then update the setup.py with your token you copied as well as your prefix of choice and (optional) user ID.
Step 3:
Invite the bot to a server of your choice and copy the ID of a text-channel you'd like the bot to accept inputs from. You can get this by right enabling developer mode and right clicking the text-channel's name. You'll see a button that says "Copy ID". Copy that channel's ID and add it to setup.py where it says "textchannelid".
Step 4:
Open a command-line, go to the directory with the bot.py
, and run python3 bot.py
(python bot.py
for Windows users). Enjoy~!
The bot is in its beta at the moment, as there are many better ways to code it that would allow better user-input, safer environments, etc. At the moment, please be be patient for new updates. Feel free to use the code as-is, however. Thank you.
[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷] 99% Complete
-Python 3.9
-discord.py
-pynput
(These are requirements only if you want to use the screenshot plugin)
-pyscreenshot
-Pillow
(All requirements used visible in bot.py)
If you have any issues, contact me here.
You don't have to give credit to me. That's not what Github is for (in my opinion).