discord-link-opener
Automatically open browser tabs when links matching given constraints are sent in discord channels.
discord.py updates have depreceated the previous version of this script.
In order to run it now, you must install discord.py-self
Installation and Usage
- Download Python 3.6.x or 3.7.x . Before installing, make sure to check “Add Python to PATH”.
- Once installed, open CMD and type:
pip install discord.py-self and
pip install asyncio
- Download Link Opener: https://github.com/clearyy/discord-link-opener
- Copy open.py to your desktop.
- Right click open.py and select “Edit with IDLE”. Once in the code, only do the following two things:
Add the discord channel IDs (separated by commas) that you would like to monitor.
Add your Discord token. (Tutorial on how to find your token:
https://www.youtube.com/watch?v=tI1lzqzLQCs)
Do not edit the keyword and blacklist lines.
- Save the file.
- Run open.py and you will be prompted for keywords and blacklisted words. Enter words in lowercase, separated by spaces and press enter when completed.
- Wait for the bot to automatically open Chrome browser tabs when links matching given constraints are sent in the specified discord channels.
- Cook.
- To change keywords at any point, press Ctrl + c to terminate the script. Then simply run the script again and enter new words when prompted.
Requirements
asyncio, discord.py-self
Operating Systems
This was designed for and only tested on windows.