Files
Echoion/config.example.json
T

50 lines
1.7 KiB
JSON

{
"bot": {
"botName": "Echoion",
"commandPrefix": "!",
"defaultVolume": 0.5,
"autoReconnect": true,
"reconnectDelay": 5000,
"maxReconnectAttempts": 5,
"preferredQuality": "High",
"allowPlaylistImports": true,
"maxQueueSize": 100,
"trackTimeout": 30000,
"proxyHost": null,
"proxyPort": null,
"proxyUsername": null,
"proxyPassword": null,
"proxyType": "HTTP",
"youtubeApiKey": null,
"rpcPort": 8765,
"_comment_youtube_cookies": "To fix YouTube 'Sign in to confirm you're not a bot' error, use ONE of these options:",
"_comment_option_1": "Option 1: Path to a cookies.txt file exported from your browser",
"youtubeCookiesPath": null,
"_comment_option_2": "Option 2: Use cookies directly from browser (chrome, firefox, safari, edge)",
"cookiesFromBrowser": null,
"_comment_yt_dlp": "yt-dlp performance settings:",
"ytDlpMaxConcurrent": 4,
"ytDlpAsyncEnabled": true,
"_comment_url_shortening": "Enable faumaray.ru link shortening for track links in messages",
"enableUrlShortening": true
},
"server": {
"address": "localhost",
"port": 9987,
"serverPassword": "",
"nickname": "EchoionBot",
"defaultChannelId": null,
"channelPassword": null,
"adminGroups": [6, 7],
"djGroups": [8],
"bannedGroups": []
},
"security": {
"requireAuthForAdmin": true,
"maxLoginAttempts": 5,
"lockoutDuration": 300000,
"sessionTimeout": 3600000,
"enableAuditLog": true
}
}