@extends('layouts.app') @section('content')
@if($tenants->isEmpty())

Welcome to DAYBot

Connect your YouTube channel to start managing your AI-powered chatbot and engage with your live stream audience.

Connect with Google
@endif @foreach($dashboardData as $data) @php $tenant = $data['tenant']; $stats = $data['stats']; $quota = $data['quota']; $roastingMode = $data['roasting_mode']; @endphp

{{ $tenant->channel_title }}

@if($tenant->status === 'running') RUNNING @elseif($tenant->status === 'error') ERROR @else STOPPED @endif

{{ $tenant->channel_id }}

Add Account
@if($tenant->status === 'running')
@csrf
@else
@csrf
@endif

Roasting Mode

Savage responses

@if($tenant->last_error) @php $isWaitingForStream = str_contains($tenant->last_error, 'Waiting'); @endphp @if($isWaitingForStream)

Waiting for Stream

{{ $tenant->last_error }}

@if($tenant->last_error_at)

{{ \Carbon\Carbon::parse($tenant->last_error_at)->diffForHumans() }}

@endif

Bot will automatically connect when you go live

@else

Bot Error

{{ $tenant->last_error }}

@if($tenant->last_error_at)

{{ \Carbon\Carbon::parse($tenant->last_error_at)->diffForHumans() }}

@endif @if(str_contains($tenant->last_error, 'OAuth') || str_contains($tenant->last_error, 'forbidden') || str_contains($tenant->last_error, 'scopes'))

Fix: Reconnect your YouTube channel with proper permissions.

@endif
@if(str_contains($tenant->last_error, 'OAuth') || str_contains($tenant->last_error, 'forbidden') || str_contains($tenant->last_error, 'scopes')) Reconnect @endif
@endif @endif

Live Metrics

Messages
{{ $stats['last_1min'] }}

Last minute

Messages
{{ $stats['last_5min'] }}

Last 5 minutes

Viewers
{{ $stats['unique_viewers_1h'] }}

Unique (1 hour)

Quota
@php $quotaPercent = $quota['per_minute']['limit'] > 0 ? round(($quota['per_minute']['used'] / $quota['per_minute']['limit']) * 100) : 0; @endphp
{{ $quotaPercent }}%

Per minute usage

@if($tenant->stream_type || $tenant->current_game)
Stream Context: @if($tenant->stream_type) {{ ucfirst($tenant->stream_type) }} @endif
@if($tenant->current_game)

Playing {{ $tenant->current_game }}

@endif
@endif

Manage Bot

Commands

Custom chat commands

Timers

Scheduled messages

Ban Words

Content moderation

@csrf @method('DELETE')

Advanced Features

Memory System

Remember users & context

XP & Leveling

Track viewer progress

Auto Greetings

Welcome new viewers

Auto Reactions

React to gg, wp, pog

Smart Announcements

Auto-triggered messages

@endforeach
@endsection