Advanced Configuration Options
Advanced Configuration OptionsThis guide covers advanced configuration options and usage patterns for Kick Bot, helping you fine-tune your bot's behavior and create more sophisticated integrations.
Complete Configuration Reference
Complete Configuration ReferenceKick Bot supports numerous configuration options. Here's the complete reference:
const bot = createBot({
// Required Configuration
clientId: 'your-kick-client-id', // Kick.com OAuth client ID
clientSecret: 'your-kick-client-secret', // Kick.com OAuth client secret
skillfulApiKey: 'your-skillful-api-key', // Skillful AI API key
chatroomId: 'your-chatroom-id', // Kick.com chatroom ID
// Authentication & Server Options
redirectUri: 'http://localhost:3000/callback', // OAuth redirect URI
serverPort: 3000, // Port for the server
// AI Options
defaultAgent: 'General Assistant', // Default Skillful agent
allowAgentChanges: true, // Allow viewers to change agents
// Message Options
maxResponseLength: 500, // Maximum message length
// Logging Options
logLevel: 'info', // Log level (error/warn/info/debug/trace)
debug: false, // Enable debug mode
// Command Options
enabledCommands: ['8ball', 'imagine'] // Additional commands to enable
// Enabled / Disable the dashboard
enableDashboard: true, // Enable the web dashboard
dashboardPassword: 'your-strong-password' // The password used for access
});Advanced AI Configuration
Advanced AI ConfigurationWorking with Different AI Agents
Working with Different AI AgentsKick Bot integrates with Skillful AI, which allows you to create different AI agents with distinct personalities and capabilities.
Advanced Agent Change Control
Advanced Agent Change ControlYou can provide fine-grained control over agent changes:
Advanced Logging
Advanced LoggingKickBot uses a customizable logging system that allows different levels of verbosity for different components.
Available Log Levels
Available Log Levelserror: Only critical errorswarn: Errors and warningsinfo: General information (default)debug: Detailed information for debuggingtrace: Very verbose, includes all details
Event System
Event SystemKick Bot provides an event system that lets you respond to various occurrences:
Command Manager Advanced Usage
Command Manager Advanced UsageThe Command Manager provides powerful tools for managing commands:
Dynamic Command Registration
Dynamic Command RegistrationYou can dynamically register and manage commands at runtime:
Custom Authentication Flow
Custom Authentication FlowFor special cases, you can implement a custom authentication flow:
WebSocket Connection Management
WebSocket Connection ManagementFor advanced scenarios, you might need more control over the WebSocket connection:
Custom Status Endpoints
Custom Status EndpointsExtend the built-in status server with custom endpoints:
Last updated