@extends('layouts.app-sidebar') @section('content')

API Settings

Manage Claude AI and YouTube API configurations

Anthropic Claude API

Configure Claude AI model and parameters

@csrf

Get from: console.anthropic.com

Recommended: Claude 3 Haiku for chat bots

Lower = More focused, Higher = More creative

Lower = Faster responses, Lower cost

Google/YouTube API

OAuth credentials for YouTube integration

@csrf

Get from: Google Cloud Console

Bot Behavior Settings

Spam protection, cooldowns, and feature toggles

@csrf

Global toggle for AI chat responses

Global toggle for !commands

Spam Protection & Rate Limiting

seconds

Cooldown per user per trigger phrase (e.g., "daybot baat sun"). If user spams trigger 10x, bot replies only once.

/min

Global rate limit per channel

seconds

Min time between AI replies to same user

seconds

Min time between !gamble, !daily, etc per user

Restart bot service after saving

Important Notes

  • API keys are stored securely in .env file
  • Config cache is automatically cleared after updates
  • Changes take effect immediately
  • All API updates are logged in audit logs
  • Test Claude API before saving to verify it works
@endsection