Watch screen for w3c match started.
- Python 100%
|
|
||
|---|---|---|
| w3cwatcher | ||
| pyproject.toml | ||
| README.md | ||
| run.py | ||
| run_tray.pyw | ||
| w3cwatcher.spec | ||
W3C Watcher
W3C Watcher is a lightweight background pixel-monitoring utility for
Windows.
It checks for the color of the W3Champions match button and sends a discord notification when it detects change from in-queue to not-in-queue.
Currently supports Windows only.
Installation
pip install git+https://github.com/Cubiss/w3cwatcher.git
Usage
GUI / Tray Mode
Run normally to start the tray watcher:
w3cwatcher --tray
Right-click the tray icon to configure:
- Start - starts monitoring (Icon turns green if successful)
- Stop - stops monitoring
- Tools/Check - opens image showing what W3CWatcher sees
- Tools/Log - tails log file
- Tools/Settings - opens settings file
Icon color:
- Green - Ready
- Red - In Queue
- Grey - Disabled
Setup a Discord webhook
- Open Discord
- Go to the server and select the channel
- Click the channel name → Integrations
- (Alternate) Right‑click channel → Edit Channel → Integrations
- Click Webhooks
- Click New Webhook
- Name it and pick the channel
- Click Copy Webhook URL. This is your
webhook_url. - Run
w3cwatcher --settingsor clickTools/Settingsin Tray context menu to open the config file - Add or update the Discord section:
[notifications.discord]
enabled = true
webhook_url = "https://discord.com/api/webhooks/.../..."
Setup a Telegram Bot
- Open Telegram
- Search for
@BotFatherand start a chat - Create a new bot by sending:
/newbot - Choose a name and a username (the username must end with
bot, e.g.w3cwatcher_notifier_bot) - BotFather will reply with your Bot Token (
123456789:ABCdefGhIjkLmNoPQRstuVWxyZ, yourbot_token) and a link to the bot (open it and tap start). - In Telegram, search for
@userinfobot - Start it, and it will immediately display your Telegram user ID. This is your
chat_id - Run
w3cwatcher --settingsor clickTools/Settingsin Tray context menu to open the config file - Add or update the Telegram section:
[notifications.telegram]
enabled = true
bot_token = "123456789:ABCdefGhIjkLmNoPQRstuVWxyZ"
chat_id = "123456789"