A Node.js bot that monitors Twitch global chat badges using Twitch GraphQL (GQL) and sends notifications to a Discord webhook when new badges appear.
- Uses Twitch GQL (no Helix, no OAuth)
- Sends Discord notifications with optional role ping
- Detects new badges and new versions
- Node.js
- Discord webhook URL
- Discord role ID (optional)
- Edit
index.jswith your credentials:
const webhookUrl = 'YOUR_DISCORD_WEBHOOK_URL';
const roleId = 'YOUR_DISCORD_ROLE_ID';