YouTubeChatSniper is a lightweight Python tool that monitors a YouTube live stream chat in real time, looking for a specific keyword. When the keyword is detected, the tool automatically sends an alert to a Discord webhook.
β‘ Useful for stream moderators, automated bots, or real-time alert systems during live events.
- π Monitors live chat of a YouTube livestream.
- π― Detects a specific keyword.
- π¬ Sends matching messages to a Discord webhook.
- β±οΈ Includes a cooldown mechanism to avoid spamming.
- βοΈ Uses a
config.jsonfile for persistent configuration.
- Python 3.7 or higher
- Required Python packages:
pytchatrequestscoloramatermcolor
Install dependencies:
pip install -r requirements.txt