/discord-link-opener

Automatically open browser tabs when links matching given constraints are sent in discord channels.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

discord-link-opener

Automatically open browser tabs when links matching given constraints are sent in discord channels.

Installation and Usage

  1. Download Python 3.6.x or 3.7.x . Before installing, make sure to check “Add Python to PATH”.
  2. Once installed, open CMD and type: pip install discord.py[voice] and pip install asyncio
  3. Download Link Opener: https://github.com/clearyy/discord-link-opener
  4. Copy open.py to your desktop.
  5. 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.
  6. Save the file.
  7. 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.
  8. Wait for the bot to automatically open Chrome browser tabs when links matching given constraints are sent in the specified discord channels.
  9. Cook.
  10. 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

Operating Systems

This was designed for and only tested on windows.