Automatically open browser tabs when links matching given constraints are sent in discord channels.
- 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[voice] 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.
asyncio, discord.py
This was designed for and only tested on windows.