add support for setting bot bandwidth

feat: Add support for setting bandwidth
Changes the default bandwidth value to 96000
This commit is contained in:
雲華
2021-05-04 23:04:46 +00:00
committed by GitHub
parent 72595f20fc
commit f36611f07b
4 changed files with 19 additions and 1 deletions

View File

@ -41,6 +41,10 @@ if [ -n "$BAM_VERBOSE" ]; then
command+=( "--verbose" )
fi
if [ -n "$BAM_BANDWIDTH" ]; then
command+=( "--bandwidth" "$BAM_BANDWIDTH")
fi
if [ -n "$BAM_CONFIG_file" ]; then
if [ ! -f "$BAM_CONFIG_file" ]; then
cp "/botamusique/configuration.example.ini" "$BAM_CONFIG_file"