fix things

This commit is contained in:
Snowflake107 2021-04-11 20:00:58 +05:45
parent 66ed2b7117
commit 8b6cf39f27
2 changed files with 2 additions and 2 deletions

View file

@ -999,7 +999,7 @@ export class Player extends EventEmitter {
const info = oldTrack.raw.source === 'youtube' ? await ytdl.getInfo(oldTrack.url).catch((e) => {}) : null;
if (info) {
const res = await Util.ytSearch(info.related_videos[0].title, { player: this, limit: 1 })
const res = await Util.ytSearch(info.related_videos[0].title, { player: this, limit: 1, user: oldTrack.requestedBy })
.then((v) => v[0])
.catch((e) => {});

View file

@ -111,7 +111,7 @@ export class Queue extends EventEmitter {
* Calculated volume of this queue
*/
get calculatedVolume() {
return this.filters.bassboost ? this.volume + 50 : this.volume;
return this.filters.normalizer ? this.volume + 70 : this.volume;
}
/**