A simple Python CLI tool to send service status notifications to Discord via webhooks.
- Send formatted status alerts to Discord channels
- Support for any service status (STARTED, STOPPED, ERROR, etc.)
- Automatic timestamp with relative time display
- @everyone mention to notify all channel members
- Clean UI layout with Discord's native components
pip install git+https://github.com/Communaute-du-RP-FR/alerts.gitSet your Discord webhook URL as an environment variable:
export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."Send a status alert:
alerts my_service STARTED
alerts database_service ERROR
alerts web_server STOPPEDOr run as a Python module:
python -m alerts my_service STARTED- Python >= 3.9
- discord.py
- requests
MIT