Skip to content

Have you ever seen Twitch Plays Pokemon and thought: Wow, I want to do that! Well, now you can easily from Discord itself with the brand-new Discord Plays bot!

License

Notifications You must be signed in to change notification settings

MCMi460/Discord-Plays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Plays Bot

Allows the remote control of a game from a text-channel in Discord

screenshot

Warning!

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.


How to use

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~!


This program is a WIP

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


Requirements:

-Python 3.9
-discord.py
-pynput

Optional Requirements

(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).

About

Have you ever seen Twitch Plays Pokemon and thought: Wow, I want to do that! Well, now you can easily from Discord itself with the brand-new Discord Plays bot!

Resources

License

Stars

Watchers

Forks

Languages