@extends('admin.layout') @section('title', 'Bot Integrations') @section('content')

🤖 Bot Integrations

← Kembali ke Video
@if($errors->any())
@endif
@csrf @method('PUT')

Discord Bot (aktif dipakai)

Worker Status: @if(($workerStatus['running'] ?? false)) RUNNING PID {{ $workerStatus['pid'] }} @else STOPPED @endif
Log file: {{ $workerStatus['log_path'] ?? storage_path('logs/discord-worker.log') }}
Lihat 100 baris log terakhir
{{ session('discord_worker_logs', $workerLogs ?? 'Belum ada log') }}
Contoh: ! maka command menjadi !proses, !status, !file
@php $selectedS3Prefix = old('discord_s3_prefix', data_get($settings, 'discord.s3_prefix', 'Semprot')); $prefixes = $discordPrefixes ?? []; if (!in_array($selectedS3Prefix, $prefixes, true)) { $prefixes[] = $selectedS3Prefix; } @endphp
Video dari Discord akan di-upload ke folder prefix ini di DigitalOcean Spaces.

Telegram Bot (placeholder untuk pengembangan)

WhatsApp Bot (placeholder untuk pengembangan)

@endsection