diff --git a/src/commands/player/play.js b/src/commands/player/play.js index 44f1318..4d2ea6d 100644 --- a/src/commands/player/play.js +++ b/src/commands/player/play.js @@ -117,6 +117,8 @@ module.exports = { maxSize: playerOptions.maxQueueSize ?? 1000, maxHistorySize: playerOptions.maxHistorySize ?? 100, volume: playerOptions.defaultVolume ?? 50, + bufferingTimeout: playerOptions.bufferingTimeout ?? 3000, + connectionTimeout: playerOptions.connectionTimeout ?? 30000, metadata: { channel: interaction.channel, client: interaction.client, diff --git a/src/config_example.js b/src/config_example.js index 482892f..87a60d8 100644 --- a/src/config_example.js +++ b/src/config_example.js @@ -110,8 +110,10 @@ module.exports.playerOptions = { leaveOnStop: true, leaveOnStopCooldown: 300_000, defaultVolume: 50, - maxQueueSize: 1000, + maxQueueSize: 1_000, maxHistorySize: 100, + bufferingTimeout: 3_000, + connectionTimeout: 30_000, progressBar: { length: 14, timecodes: false,