change filter check

This commit is contained in:
cloudwithax 2022-10-25 21:13:47 -04:00
parent 0e9399af3f
commit 4013bf94f3
1 changed files with 3 additions and 1 deletions

View File

@ -364,7 +364,9 @@ class Player(VoiceProtocol):
# So if no global filters are detected, lets apply any # So if no global filters are detected, lets apply any
# necessary track filters # necessary track filters
if self.filters.empty and track.filters: # Check if theres no global filters and if the track has any filters
# that need to be applied
if not self.filters.has_global and track.filters:
# Now apply all filters # Now apply all filters
for filter in track.filters: for filter in track.filters:
# Set preload for filter # Set preload for filter