Skip to content

A Discord bot designed to monitor specified channels for new invite links and URLs, providing detailed information about them.

License

Notifications You must be signed in to change notification settings

ThatSINEWAVE/Watchlist-Bot

Repository files navigation

Watchlist Bot

Watchlist Bot is a Discord bot designed to monitor specified channels for new invite links, URLs, and user IDs, providing detailed information about them.

Features

  • Monitors designated channels for invite links and URLs.
  • Extracts and processes invite links to provide detailed server information.
  • Extracts and processes URLs to provide detailed domain and IP information.
  • Extracts and processes user IDs to provide detailed user information.

Setup

To use the Watchlist Bot, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies listed in requirements.txt.
  3. Create a .env file in the root directory of the repository.
  4. Set the following environment variables in the .env file:
    • TOKEN: Your Discord bot token.
    • INVITES_CHANNEL_ID: The Discord channel ID where invite links will be monitored.
    • INVITES_FORUM_CHANNEL_ID: The Discord channel ID where server invite information will be posted.
    • URL_CHANNEL_ID: The Discord channel ID where URLs will be monitored.
    • URL_FORUM_CHANNEL_ID: The Discord channel ID where URL information will be posted.
    • USER_ID_CHANNEL_ID: The Discord channel ID where user IDs will be monitored.
    • USER_FORUM_CHANNEL_ID: The Discord channel ID where user information will be posted.
  5. Run the bot using python main.py.

Dependencies

  • Python 3.9
  • Discord.py
  • Requests
  • Whois
  • Dotenv

Usage

Once the bot is running and configured correctly, it will automatically monitor the specified channels for invite links, URLs, and user IDs. When a new invite link, URL, or user ID is detected, it will fetch detailed information and post it in the designated forum channels.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.