Files
fluxer/config_example.json
T
2026-05-14 20:31:00 +03:00

100 lines
2.6 KiB
JSON

{
"token": "your bot token",
"fluxer.js": {
"rest": {
"timeout": 30000,
"retries": 3
}
},
"prefix": "your desired prefix (such as %)",
"presenceContents": [
{
"text": "Ping for Prefix | Hosted by https://kyun.sh/",
"emoji_name": "Remix",
"emoji_id": "1487652011819025844",
"activity": { "name": "kyun.sh", "type": 2 }
},
{
"text": "Ping for Prefix",
"emoji_name": "🎧",
"activity": { "name": "music", "type": 2 }
}
],
"presenceInterval": 30000,
"spotify": {
"clientId": "your spotify client id",
"clientSecret": "your spotify client secret"
},
"nodelink": {
"host": "localhost",
"port": 3000,
"password": "youshallnotpass",
"requestTimeout": 60000
},
"radio": [],
"cache": {
"guilds": { "enabled": true, "max": 5000 },
"members": { "enabled": true, "max": 10000 }
},
"helpCatalog": true,
"helpPagination": true,
"mysql": {
"host": "your-mysql-host.com",
"port": 3306,
"user": "youruser",
"password": "password of your user",
"database": "name of the target database"
},
"webPort": 80,
"dashboard": {
"enabled": false,
"redis": { "url": "redis://localhost:6379" }
},
"dashboardUrl": "The url the dashboard is accessible with.",
"ssl": {
"private": "path-to-private-key.pem",
"cert": "path-to-certificate.pem",
"useSSL": false,
"httpPort": 80
},
"sessionSecret": "secret for the expressjs session middleware",
"geniusToken": "Genius access token (optional, used for lyrics)",
"lastfm": {
"apiKey": "your_lastfm_api_key",
"apiSecret": "your_lastfm_api_secret",
"scrobbleThreshold": 0.5,
"scrobbleMinMs": 240000
},
"owners": ["user id for owner-only commands"],
"customStatsFooter": "Text shown in the footer of the %stats embed; optional.",
"embedColor": "0xe9196c",
"logging": {
"enabled": true,
"player": true,
"inactivity": false,
"voice247": true,
"voiceState": false,
"mediaplayer": true,
"commands": true,
"guild": true,
"recovery": false,
"settings": false,
"worker": false,
"moonlink": false,
"voice": false,
"dashboard": false,
"redis": false
},
"timers": {
"inactivityTimeout": 180000,
"aloneCheckInterval": 30000,
"aloneCheckDebounce": 500,
"rejoin247Delay": 2000,
"leave247RejoinDelay": 3000,
"playerUpdateInterval": 5000,
"searchSessionTimeout": 30000,
"playerSessionTimeout": 300000,
"intentionalLeaveTTL": 10000
}
}