mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: Add configurable option for ip rotation config
This commit is contained in:
1 parent
4865e208e1
commit
8dd88609f8
1 file changed
+13
@@ -134,6 +134,13 @@ module.exports.playerOptions = {
|
||||
}
|
||||
};
|
||||
|
||||
// Configuration for ip rotation. Used for avoiding rate limits on certain APIs.
|
||||
module.exports.ipRotationConfig = {
|
||||
blocks: [],
|
||||
exclude: [],
|
||||
maxRetries: 3
|
||||
};
|
||||
|
||||
// Configuration for ffmpeg filters for audio processing.
|
||||
module.exports.ffmpegFilterOptions = {
|
||||
threadAmount: '2',
|
||||
@@ -191,6 +198,12 @@ module.exports.ffmpegFilterOptions = {
|
||||
value: 'normalizer',
|
||||
description: 'Normalize the audio (avoid distortion).',
|
||||
emoji: '🎶'
|
||||
},
|
||||
{
|
||||
label: 'Remove silence',
|
||||
value: 'silenceremove',
|
||||
description: 'Remove silence from start of tracks.',
|
||||
emoji: '🔇'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user