This Python script checks for the latest Minecraft version and sends updates to a Discord webhook.
- Python 3.x installed on your system
- Install the required Python packages using the following command:
pip install -r requirements.txt-
Clone the repository:
git clone https://github.com/melker23/mc-notifier.git cd mc-notifier
To receive notifications about the latest Minecraft version updates, you need to set up a Discord webhook and run the script. Follow the steps below:
- Open your Discord server.
- Navigate to the channel where you want to receive updates.
- Click on the gear icon next to the channel name and select "Integrations."
- Click on "Create Webhook."
- Customize the webhook name, avatar, and select the channel.
- Copy the webhook URL provided.
Create a .env file in the project root and add the following line:
DISCORD_WEBHOOK_URL=your_webhook_url_hereReplace your_webhook_url_here with the copied webhook URL from the previous step. This environment variable is crucial for the script to send updates to the designated Discord channel.