Skip to content
AzraDocs
Pricing Dashboard
Integrations

Integrations & Analytics

Twitch live notifications, YouTube upload alerts, and a 30-day server analytics dashboard.

2 sections3 min readOpen the dashboard
On this page

Twitch & YouTube Notifications#

Get notified in Discord whenever a Twitch streamer goes live or a YouTube channel uploads a new video.

Twitch Notifications#

Add, edit and remove Twitch alerts on Dashboard → Social. Pick the notify channel, and when the streamer goes live Azra posts an embed with the stream title, thumbnail and a direct link. A custom message per alert is optional (for example @everyone is live!).

YouTube Notifications#

YouTube alerts are managed on the same page. Use the YouTube channel ID (starts with UC…), not the handle. New uploads post the video title, thumbnail and link in the notify channel.

socialsList every Twitch and YouTube integration for this server — platform, streamer/channel, notify channel and live status. Alerts withheld by the free tier are marked 🔒 but still listed.

How Polling Works#

Poller runs every few minutes
→
Check Twitch / YouTube API
→
New stream / video detected?
→
Post notification embed

The bot tracks the last known event ID per integration to avoid duplicate notifications. If the bot restarts, polling resumes automatically from the clientReady event.

Notification Embed#

The notification includes the streamer/creator name, stream title or video title, thumbnail, and a direct link. You can set a custom message text per integration to customize the ping (e.g. @everyone is live!).

Managing via Dashboard#

Dashboard → Social is the full management UI — it is the only place integrations are added or removed. Enable/disable an alert without deleting it, change its channel, and set a custom notification message per integration.

Analytics#

30-day charts tracking your server's activity, growth, and moderation — visible in the dashboard with interactive Chart.js graphs.

Dashboard Charts#

👥 Member Count#

Daily snapshot of total server member count over 30 days — spot growth and churn trends.

Messages Sent#

Daily total message volume across all tracked channels.

Joins & Leaves#

Daily new member joins and leaves side by side — correlate with events or announcements.

Mod Actions#

Breakdown of moderation actions: warns, bans, kicks, timeouts, automod triggers.

/stats Command#

statsPost a server analytics embed showing member count, total messages, joins, leaves, and mod actions. Useful for a public #server-info channel. Available without the analytics Pro feature.

Data Tracked#

MetricGranularityRetention
Member count, messages, joins, leaves, voice minutesDailyIndefinite
Active users (unique per day)DailyIndefinite
Messages per hourHourly (0–23)Indefinite
Messages per channelDaily per channelIndefinite