Skip to content

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

License

Notifications You must be signed in to change notification settings

Smidelis/discord-link-opener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-link-opener

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

Disclaimer

Use at own risk!

Automating normal user accounts (generally called "self-bots") is against the Discord Guidelines and may result in an account termination (ban) without prior notice.

Installation and Usage

  1. Download Python 3.6.x or 3.7.x or 3.8.x . Before installing, make sure to check “Add Python to PATH”.
  2. Once installed, open CMD and type:
pip install discord.py[voice] 
pip install asyncio
pip install pyyaml
  1. Download Link Opener: https://github.com/Smidelis/discord-link-opener/
  2. Extract the contents of the *.zip file to a local folder of your choice (desktop/documents/...)
  3. Copy config_example.yaml and rename it to config.yml.
  4. Open the config.yml and replace the placeholders with the values for the token (tutorial on how to find your token: https://www.youtube.com/watch?v=tI1lzqzLQCs), the keywords you're looking for, the blacklisted words and the channels.
  5. Three browsers have been implemented: chrome, edgechromium and firefox. Change the user_choice to the value of your preferred browser.
  6. Save the file.
  7. Open PowerShell/CMD and change directory (cd) to the folder, where you have extracted the *.zip file to.
  8. Run open.py.
  9. Wait for the bot to automatically open new browser tabs when links matching given constraints are sent in the specified discord channels.
  10. Cook.

Requirements

asyncio, discord.py, pyyaml

Operating Systems

This was designed for and only tested on windows.

Credits

This script is a combination of the versions by clearyy and Vincentt1705 and some own ideas. Thanks for the inspiration! Config files added by elevul.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%